using UnmanagedMMU.Allocators; namespace UnmanagedMMU.Handles { /// /// Interface that represents an untyped handle to unmanaged memory. /// public unsafe interface IMemoryHandle { /// /// Gets the raw pointer to the underlying unmanaged memory block. /// /// /// The returned pointer is valid only for the lifetime of the allocator /// that created this . /// void* Pointer { get; } /// /// Gets the number of bytes in the unmanaged memory block /// represented by this . /// nuint ByteCount { get; } } }