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

Empty the stream and reset the read position&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
clear();
----


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