[#BloombergLP-bslx-OutStreamFunctions-bdexStreamOut-074] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/OutStreamFunctions.adoc[OutStreamFunctions]::bdexStreamOut :relfileprefix: ../../../ :mrdocs: BDEX‐stream an `unsigned short` `value` to `stream`. == Synopsis Declared in `<bslx_outstreamfunctions.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STREAM> STREAM& bdexStreamOut( STREAM& stream, unsigned short const& value, int version = 0); ---- == Description Write the specified `unsigned short` `value` to the specified output `stream`, and return a reference to `stream`. The optionally specified `version` is ignored. If `stream` is initially invalid, this operation has no effect. See the `bslx` package‐level documentation for more information on BDEX streaming of value‐semantic types and containers. == Return Value a reference to `stream` == Parameters [cols="1,4"] |=== | Name| Description | *stream* | output stream to write to | *value* | unsigned short integer value to externalize | *version* | ignored version number |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#