PooledMemoryOwner<T>
Models & Types · AiDotNet.Memory
An IMemoryOwner implementation that returns memory to the pool when disposed.
Implements: IMemoryOwner<T>
Properties
| Property | Summary |
|---|---|
Memory<T> Memory { get; } |
Gets the Memory wrapped by this owner. |
Methods
| Method | Summary |
|---|---|
void Dispose() |
Returns the memory to the pool and releases the reference. |