System::Text::Json::PooledByteBufferWriter::GetMemory method

PooledByteBufferWriter::GetMemory method

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

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

ReturnValue

A Memory that can be written to.

See Also