共用方式為


PooledBuffer.GetSpan(Int32) 方法

定義

傳回 Span<T> 以寫入到至少為要求大小 (由 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)

參數

sizeHint
Int32

傳回

實作

適用於