[#BloombergLP-bslx-InStreamFunctions-bdexStreamIn-08] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/InStreamFunctions.adoc[InStreamFunctions]::bdexStreamIn :relfileprefix: ../../../ :mrdocs: Assign to the specified `variable` the `VALUE_TYPE` value read from the specified input `stream` using the specified `version` format, and return a reference to `stream`. If `stream` is initially invalid, this operation has no effect. If `version` is not supported by `VALUE_TYPE`, `variable` is unaltered and `stream` is invalidated, but otherwise unmodified. If `version` is supported but `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. See the `bslx` package‐level documentation for more information on BDEX streaming of value‐semantic types and containers. == Synopsis Declared in `<bslx_instreamfunctions.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class STREAM, class VALUE_TYPE> STREAM& bdexStreamIn( STREAM& stream, VALUE_TYPE& variable, int version); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#