UnmanagedMemoryPool<T>
public sealed class UnmanagedMemoryPool<T> : MemoryPool<T> where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
Represents pool of unmanaged memory.
public UnmanagedMemoryPool(int maxBufferSize, int defaultBufferSize = 32, bool trackAllocations = false)
Initializes a new pool of unmanaged memory.
Allocates unmanaged memory and returns an object
that controls its lifetime.
Gets allocator of unmanaged memory.