PooledBuffer.GetSpan(Int32) Method

Definition

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

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

Parameters

sizeHint
Int32

Returns

Implements

Applies to