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

Right shift operators

== Synopses

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

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


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

[.small]#xref:BloombergLP/bslx/operator_rshift-038.adoc[_» more&period;&period;&period;_]#

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


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

[.small]#xref:BloombergLP/bslx/operator_rshift-0c.adoc[_» more&period;&period;&period;_]#

Read the specified `value` from the specified input `stream`&period;


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

[.small]#xref:BloombergLP/bslx/operator_rshift-07.adoc[_» more&period;&period;&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]#
