Create a FixedMemInput using the specified buffer and length.
Declared in <bdlsb_fixedmeminput.h>
FixedMemInput(
char const* buffer,
std::size_t length);
Create a FixedMemInput using the specified buffer of the specified length. The position indicator is set to the beginning of the buffer. The behavior is undefined unless buffer != 0 && length > 0 or length == 0. Note that buffer is held but not owned.
| Name | Description |
|---|---|
| buffer | character buffer to read from (held, not owned) |
| length | size of buffer in bytes |