Write the specified one‐byte version to this stream.
Synopsis
Declared in <bslx_genericoutstream.h>
GenericOutStream<STREAMBUF>&
putVersion(int version);
Description
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.
Return Value
a reference to this stream
Parameters
Name |
Description |
version |
version number whose least‐significant byte is written |
Created with MrDocs