[#BloombergLP-bslx-TestOutStream-putVersion] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/TestOutStream.adoc[TestOutStream]::putVersion :relfileprefix: ../../../ :mrdocs: Write to this stream the one‐byte type indicator for a one‐byte unsigned integer and 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. If the next output operation has been set to be marked invalid (see `makeNextInvalid`), reset this marking and emit the invalid indicator instead of the type indicator. == Synopsis Declared in `<bslx_testoutstream.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslx/TestOutStream.adoc[TestOutStream]& putVersion(int version); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#