Reinitialize this stream buffer to use the specified character buffer having the specified length. Return the address of this modifiable stream buffer. The behavior is undefined unless buffer != 0 && length > 0 or length == 0. Upon reinitialization for use of the new buffer, neither the content nor the next input position indicator is preserved. Note that buffer is held but not owned.
Declared in <bdlsb_fixedmeminstreambuf.h>
FixedMemInStreamBuf*
pubsetbuf(
char* buffer,
std::streamsize length);