PooledBuffer.GetSpan(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 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