[#BloombergLP-balb-Choice5-bdexStreamIn]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/Choice5.adoc[Choice5]::bdexStreamIn
:relfileprefix: ../../../
:mrdocs:

Assign to this object the value read from the specified input `stream` using the specified `version` format and return a reference to the modifiable `stream`&period; If `stream` is initially invalid, this operation has no effect&period; If `stream` becomes invalid during this operation, this object is valid, but its value is undefined&period; If `version` is not supported, `stream` is marked invalid and this object is unaltered&period; Note that no version is read from `stream`&period; See the `bslx` package&hyphen;level documentation for more information on `bdex` streaming of value&hyphen;semantic types and containers&period;

== Synopsis

Declared in `&lt;balb&lowbar;testmessages&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class STREAM&gt;
STREAM&
bdexStreamIn(
    STREAM& stream,
    int version);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
