[#BloombergLP-bslx-ByteOutStream-data] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/ByteOutStream.adoc[ByteOutStream]::data :relfileprefix: ../../../ :mrdocs: Return the address of this stream's contiguous internal buffer. == Synopsis Declared in `<bslx_byteoutstream.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- 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 [.small]#Created with https://www.mrdocs.com[MrDocs]#