[#BloombergLP-bslx-GenericOutStream-putVersion] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/GenericOutStream.adoc[GenericOutStream]::putVersion :relfileprefix: ../../../ :mrdocs: Write the specified one‐byte `version` to this stream. == Synopsis Declared in `<bslx_genericoutstream.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslx/GenericOutStream.adoc[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 [cols="1,4"] |=== | Name| Description | *version* | version number whose least‐significant byte is written |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#