Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ OutputStream() [4/5]

Ice::OutputStream::OutputStream ( std::pair< const std::byte *, const std::byte * > bytes,
EncodingVersion encoding = currentEncoding,
FormatType format = FormatType::CompactFormat,
StringConverterPtr stringConverter = nullptr,
WstringConverterPtr wstringConverter = nullptr )

Constructs an OutputStream over an application-supplied buffer.

Parameters
bytesApplication-supplied memory that the OutputStream uses as its initial marshaling buffer. The stream will reallocate if the size of the marshaled data exceeds the application's buffer.
encodingThe encoding version to use.
formatThe class format to use.
stringConverterThe narrow string converter to use.
wstringConverterThe wide string converter to use.