System.Buffers.MemoryManager<T>
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();
}
}