[#SpanReader]
= SpanReader
:mrdocs:

Minimal stream for reading from an existing byte array by std&colon;&colon;span&period;

== Synopsis

Declared in `&lt;streams&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class SpanReader;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:SpanReader/2constructor-04.adoc[`SpanReader`]         [.small]#[constructor]#
| Constructors
| xref:SpanReader/empty.adoc[`empty`] 
| Return true if no bytes remain to be read&period;
| xref:SpanReader/ignore.adoc[`ignore`] 
| Skip the next `n` bytes without reading them&period;
| xref:SpanReader/operator_rshift.adoc[`operator&gt;&gt;`] 
| Deserialize an object from the buffer and return this reader&period;
| xref:SpanReader/read.adoc[`read`] 
| Read bytes into the destination span, advancing past them&period;
| xref:SpanReader/size.adoc[`size`] 
| Return the number of bytes remaining to be read&period;
|===



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