using System.Runtime.InteropServices; namespace UnmanagedMMU.Allocators { /// /// Wrapper class around and . /// internal sealed unsafe class DefaultUnmanagedAllocator : IUnmanagedAllocator { /// public void* Alloc(nuint size) => NativeMemory.Alloc(size); /// public void Free(void* ptr) => NativeMemory.Free(ptr); } }