reset overloads
Declared in <bslx_testinstream.h>
Set the index of the next byte to be extracted from this stream to 0 (i.e., the beginning of the stream) and validate this stream if it is currently invalid.
void
reset();
» more...
Reset this stream to extract from the specified srcData.
void
reset(bslstl::StringRef const& srcData);
» more...
Reset this stream to extract from the specified buffer.
void
reset(
char const* buffer,
std::size_t numBytes);
» more...
| Name | Description |
|---|---|
| srcData | string data to extract from |
| buffer | contiguous bytes to extract from |
| numBytes | number of bytes in buffer |