BloombergLP::bslx::ByteOutStream::putVersion

Write the specified one-byte version to this stream.

Synopsis

Declared in <bslx_byteoutstream.h>

ByteOutStream&
putVersion(int version);

Description

Write to this stream 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

NameDescription
versionversion number whose least-significant byte is written