[#DataStream-read]
= xref:DataStream.adoc[DataStream]::read
:relfileprefix: ../
:mrdocs:

Read bytes from the front of the stream into `dst`, advancing the read position&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
read(std::span&lt;value&lowbar;type&gt; dst);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *dst*
| Buffer to fill with bytes read from the stream&period;
|===


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