Files
mROA/mROA.Example/Main.cs
T

25 lines
514 B
C#
Raw Normal View History

using System.Runtime.InteropServices;
using mROA.Implementation;
2025-02-04 18:40:47 +03:00
namespace mROA.Example;
public class MainX
{
public static void Main(string[] args)
{
IRemoteObject x;
// CoCodegenMethodRepository a = new CoCodegenMethodRepository();
unsafe
{
}
}
public unsafe byte[] Convert<T>(T input)
{
var size = Marshal.SizeOf(typeof(T));
var place = Marshal.AllocHGlobal(size);
var pt = (T*)place;
2025-02-05 10:58:50 +03:00
return [];
2025-02-04 18:40:47 +03:00
}
}