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

◆ writeOptional()

bool Ice::OutputStream::writeOptional ( std::int32_t tag,
OptionalFormat format )
inline

Writes the tag and format of an optional value.

Parameters
tagThe tag.
formatThe optional format.
Returns
true if the current encoding version supports optional values, false otherwise. If true, the data associated with the optional value must be written next.

Definition at line 327 of file OutputStream.h.