System::Text::Json::PooledByteBufferWriter::GetSpan method

PooledByteBufferWriter::GetSpan method

Returns a Span that can be written to, and is guaranteed to have at least sizeHint elements.

Span<uint8_t> System::Text::Json::PooledByteBufferWriter::GetSpan(int32_t sizeHint=MinimumBufferSize) override
ParameterTypeDescription
sizeHintint32_tThe minimum number of elements that must be available.

ReturnValue

A Span that can be written to.

See Also