[#DataStream-2constructor-035]
= xref:DataStream.adoc[DataStream]::DataStream
:relfileprefix: ../
:mrdocs:

Construct a stream initialized from a span of unsigned bytes&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
DataStream(std::span&lt;uint8&lowbar;t const&gt; sp);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *sp*
| Bytes copied into the stream as its initial contents&period;
|===


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