[#DataStream-read] = xref:DataStream.adoc[DataStream]::read :relfileprefix: ../ :mrdocs: Read bytes from the front of the stream into `dst`, advancing the read position. == Synopsis Declared in `<streams.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void read(std::span<value_type> dst); ---- == Parameters [cols="1,4"] |=== | Name| Description | *dst* | Buffer to fill with bytes read from the stream. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#