Method GetMemory
GetMemory(int)
Returns a Memory<T> to write to that is at least the requested size (specified by sizeHint
).
public Memory<T> GetMemory(int sizeHint = 0)
Parameters
Returns
Exceptions
- OutOfMemoryException
The requested buffer size is not available.