Skip to content

Instantly share code, notes, and snippets.

View torvall's full-sized avatar

António Maria Torre do Valle torvall

View GitHub Profile
@torvall
torvall / Program.cs
Created January 18, 2024 20:21 — forked from andrewloable/Program.cs
Use a library compiled in Go in c# (.net)
using System;
using System.Runtime.InteropServices;
using System.Text;
namespace GoSharedDLL
{
class Program
{
[DllImport("shared.dll", CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)]
private static extern IntPtr ReturnReversedString(byte[] input);
@torvall
torvall / keybase.md
Last active November 11, 2019 14:14

Keybase proof

I hereby claim:

  • I am torvall on github.
  • I am torvall (https://keybase.io/torvall) on keybase.
  • I have a public key ASBfYBFqBcJ1U1ku_6jlaCQNxVA3IRykpGZUkChv5sWveAo

To claim this, I am signing this object: