[#DataStream-clear] = xref:DataStream.adoc[DataStream]::clear :relfileprefix: ../ :mrdocs: Empty the stream and reset the read position. == Synopsis Declared in `<streams.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void clear(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#