BufferWriterBox<TBufferWriter>.GetMemory(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a Memory<T> to write to that is at least the requested size (specified by 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)
Parameters
- sizeHint
- Int32