MemoryAllocator
Represents interop layer between .NET memory pools
and MemoryAllocator<T>.
Rents a block of memory from Shared pool.
Returns array allocator.
public static MemoryOwner<T> Invoke<T>(this MemoryAllocator<T> allocator, int length, bool exactSize)
Allocates memory.
Converts array pool to the memory allocator.
Converts memory pool to the memory allocator.
Converts memory provider to the memory allocator.