SpanBufferWriter.GetMemory(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回 Memory<T> 以寫入到至少為要求大小 (由 sizeHint
指定) 的資料。
public readonly 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