Reset the internal buffer of this stream to the specified buffer.
Declared in <bdlsb_fixedmemoutput.h>
FixedMemOutput*
pubsetbuf(
char* buffer,
std::streamsize length);
Reset the internal buffer of this stream to the specified buffer of the specified length. Note that the next write operation will start at the beginning of buffer.
a pointer providing modifiable access to this stream buffer
| Name | Description |
|---|---|
| buffer | new output character array; held, not owned |
| length | size of buffer in bytes |