Reinitialize this stream buffer to use the specified character buffer.

Synopsis

Declared in <bdlsb_fixedmeminstreambuf.h>

virtual
FixedMemInStreamBuf*
setbuf(
    char* buffer,
    std::streamsize length) override;

Description

Reinitialize this stream buffer to use the specified character buffer having the specified length. Return the pointer providing modifiable access to this stream buffer.

Return Value

pointer providing modifiable access to this stream buffer

Parameters

Name

Description

buffer

character buffer to use

length

length of buffer

Created with MrDocs