[#BloombergLP-bslx-TestInStream-reset-0f] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/TestInStream.adoc[TestInStream]::reset :relfileprefix: ../../../ :mrdocs: Reset this stream to extract from the specified `srcData`, set the index of the next byte to be extracted to 0 (i.e., the beginning of the stream), and validate this stream if it is currently invalid. == Synopsis Declared in `<bslx_testinstream.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void reset(xref:BloombergLP/bslstl/StringRef.adoc[bslstl::StringRef] const& srcData); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#