Interface IMemoryPoolProvider
Interface used to obtain MemoryPools.
Cesil uses this during creation of IBoundConfigurations to determine where necessary allocations during read/writing will be placed.
Namespace: Cesil
Assembly: Cesil.dll
Syntax
public interface IMemoryPoolProvider
Methods
GetMemoryPool<TElement>()
Returns a MemoryPool for the given type.
Declaration
MemoryPool<TElement> GetMemoryPool<TElement>()
Returns
| Type | Description |
|---|---|
| System.Buffers.MemoryPool<TElement> |
Type Parameters
| Name | Description |
|---|---|
| TElement |