共用方式為


PooledBuffer.GetMemory(Int32) 方法

定義

傳回 Memory<T> 以寫入到至少為要求大小 (由 sizeHint指定) 的資料。

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

參數

sizeHint
Int32

傳回

實作

適用於