<PackageReference Include="System.Memory" Version="4.6.3" />

System.Buffers.MemoryManager<T>

public abstract class MemoryManager<T> : IMemoryOwner<T>, IDisposable, IPinnable
Manager of Memory<T> that provides the implementation.
namespace System.Buffers { public abstract class MemoryManager<T> : IMemoryOwner<T>, IDisposable, IPinnable { public virtual Memory<T> Memory { get; } public abstract Span<T> GetSpan(); public abstract MemoryHandle Pin(int elementIndex = 0); public abstract void Unpin(); protected Memory<T> CreateMemory(int length); protected Memory<T> CreateMemory(int start, int length); protected abstract void Dispose(bool disposing); protected MemoryManager(); } }