Edit

Share via


PrefixingBufferWriter<T,TBufferWriter>.GetMemory(Int32) Method

Definition

Returns a Memory<T> to write to that is at least the requested size (specified by sizeHint).

public Memory<T> GetMemory (int sizeHint = 0);
abstract member GetMemory : int -> Memory<'T>
override this.GetMemory : int -> Memory<'T>
Public Function GetMemory (Optional sizeHint As Integer = 0) As Memory(Of T)

Parameters

sizeHint
Int32

Returns

Memory<T>

Implements

Applies to