BloombergLP::bdlsb::OverflowMemOutput::pubsetbuf

Reinitialize this stream buffer to use the specified character buffer.

Synopsis

Declared in <bdlsb_overflowmemoutput.h>

OverflowMemOutput*
pubsetbuf(
    char* buffer,
    std::streamsize length);

Description

Reinitialize this stream buffer to use the specified character buffer having the specified length. Return a pointer providing modifiable access to this stream buffer. This stream buffer does not support reinitialization of the internal character buffer.

Return Value

pointer providing modifiable access to this stream buffer

Parameters

NameDescription
buffercharacter buffer (ignored; reinitialization unsupported)
lengthlength of buffer (ignored; reinitialization unsupported)