Create a FixedMemInStreamBuf that reads from the specified buffer.

Synopsis

Declared in <bdlsb_fixedmeminstreambuf.h>

FixedMemInStreamBuf(
    char const* buffer,
    std::size_t length);

Description

Create a FixedMemInStreamBuf that provides access to the character sequence in the specified buffer of the specified length. The behavior is undefined unless buffer != 0 && length > 0 or length == 0.

Parameters

Name

Description

buffer

character buffer providing the input sequence

length

length of buffer

Created with MrDocs