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.
bytes | Application-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. |
encoding | The encoding version to use. |
format | The class format to use. |
stringConverter | The narrow string converter to use. |
wstringConverter | The wide string converter to use. |