Skip to content

TestBufferWriterStruct.GetSpan(int)

GetSpan(int)

View source
public readonly Span<byte> GetSpan(int sizeHint)
Gets the unwritten portion of the fixed output buffer.

Parameters

sizeHintint
The requested minimum size. This fixed-buffer implementation does not allocate additional capacity.

Returns

The span available for writing.