Create an input byte stream containing the specified initial numBytes from the specified buffer. The behavior is undefined unless 0 == numBytes if 0 == buffer.
Declared in <bslx_byteinstream.h>
ByteInStream(
char const* buffer,
std::size_t numBytes);
| Name | Description |
|---|---|
| buffer | memory buffer providing the initial stream contents |
| numBytes | number of bytes from buffer to use |