Edit

Share via


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

Definition

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

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

Parameters

sizeHint
Int32

Returns

Span<T>

Implements

Applies to