Create a test input stream containing the specified initial numBytes from the specified buffer. The behavior is undefined unless 0 == numBytes if 0 == buffer.
Declared in <bslx_testinstream.h>
TestInStream(
char const* buffer,
std::size_t numBytes);
| Name | Description |
|---|---|
| buffer | contiguous bytes to extract from |
| numBytes | number of bytes in buffer |