[#BloombergLP-bslx-GenericOutStream-2constructor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/GenericOutStream.adoc[GenericOutStream]::GenericOutStream :relfileprefix: ../../../ :mrdocs: Create an output byte stream that writes its output to the specified `streamBuf` and uses the specified (_compile_‐time‐defined) `versionSelector` as needed (see {Versioning}). Note that the `versionSelector` is expected to be formatted as "YYYYMMDD", a date representation. == Synopsis Declared in `<bslx_genericoutstream.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- GenericOutStream( STREAMBUF* streamBuf, int versionSelector); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#