[#BloombergLP-bslx-operator_rshift-038]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::operator&gt;&gt;
:relfileprefix: ../../
:mrdocs:

Read a BDEX&hyphen;compliant `value` from the specified input `stream`&period;

== Synopsis

Declared in `&lt;bslx&lowbar;byteinstream&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
xref:BloombergLP/bslx/ByteInStream.adoc[ByteInStream]&
operator&gt;&gt;(
    xref:BloombergLP/bslx/ByteInStream.adoc[ByteInStream]& stream,
    TYPE& value);
----

== Description

Read the specified `value` from the specified input `stream` following the requirements of the BDEX protocol (see the `bslx` package&hyphen;level documentation), and return a reference to `stream`&period; The behavior is undefined unless `TYPE` is BDEX&hyphen;compliant&period;

== Return Value

a reference to `stream`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *stream*
| input stream to read from
| *value*
| destination for the extracted value
|===


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