Return the address of this stream's contiguous internal buffer.

Synopsis

Declared in <bslx_byteoutstream.h>

char const*
data() const;

Description

Return the address of the contiguous, non‐modifiable internal memory buffer of this stream. The address will remain valid as long as this stream is not destroyed or modified. The behavior of accessing elements outside the range [ data() .. data() + (length() ‐ 1) ] is undefined.

Return Value

address of the internal buffer

Created with MrDocs