BloombergLP::bdlsb::FixedMemInStreamBuf

This class implements the input functionality of the basic_streambuf protocol, using client-supplied char * memory.

Synopsis

Declared in <bdlsb_fixedmeminstreambuf.h>

class FixedMemInStreamBuf
    : public std::streambuf

Base Classes

NameDescription
std::streambuf

Member Functions

NameDescription
FixedMemInStreamBuf [constructor]Create a FixedMemInStreamBuf that reads from the specified buffer.
~FixedMemInStreamBuf [destructor] [virtual]Destroy this stream buffer.
data Return the address of the non-modifiable character buffer held by this stream buffer.
length Return the number of characters remaining to be read.
pubsetbuf Reinitialize this stream buffer to use the specified character buffer.
pubsetbuf Reinitialize this stream buffer to use the specified read-only character buffer having the specified length.

Protected Member Functions

NameDescription
seekoff [virtual]Set the get-area position indicator relative to a base position.
seekpos [virtual]Set the get-area position indicator to an absolute position.
setbuf [virtual]Reinitialize this stream buffer to use the specified character buffer.
setbuf Reinitialize this stream buffer to use the specified character buffer.
showmanyc [virtual]Return the number of characters currently available for reading from this stream buffer, or -1 if there are none.
xsgetn [virtual]Read characters from this stream buffer into a destination buffer.