MemoryAllocator public static class MemoryAllocator Represents interop layer between .NET memory pools and MemoryAllocator<T>. Documentation Code public static MemoryAllocator<T> ToAllocator<T>(this ArrayPool<T> pool) Converts array pool to the memory allocator. public static MemoryAllocator<T> ToAllocator<T>(this MemoryPool<T> pool) Converts memory pool to the memory allocator.