Create a FixedMemInput using the specified buffer and length.
Synopsis
Declared in <bdlsb_fixedmeminput.h>
FixedMemInput(
char const* buffer,
std::size_t length);
Description
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.
Parameters
Name |
Description |
buffer |
character buffer to read from (held, not owned) |
length |
size of |
Created with MrDocs