Write the specified one-byte version to this stream.
Declared in <bslx_genericoutstream.h>
GenericOutStream<STREAMBUF>&
putVersion(int version);
Write to the stream supplied at construction the one-byte, two's complement unsigned integer comprised of the least-significant one byte of the specified version, and return a reference to this stream. If this stream is initially invalid, this operation has no effect.
a reference to this stream
| Name | Description |
|---|---|
| version | version number whose least-significant byte is written |