[#BufferedReader]
= BufferedReader
:mrdocs:

Wrapper that buffers reads from an underlying stream&period; Requires underlying stream to support read() and detail&lowbar;fread() calls to support fixed&hyphen;size and variable&hyphen;sized reads, respectively&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename S&gt;
class BufferedReader;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BufferedReader/2constructor.adoc[`BufferedReader`]         [.small]#[constructor]#
| Requires stream ownership to prevent leaving the stream at an unexpected position after buffered reads&period;
| xref:BufferedReader/operator_rshift.adoc[`operator&gt;&gt;`] 
| Deserialize an object from the buffered reader and return this reader&period;
| xref:BufferedReader/read.adoc[`read`] 
| Read bytes into `dst`, serving them from the buffer and refilling from the source as needed&period;
|===



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