[#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 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. == Synopsis Declared in `<bslx_byteoutstream.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- char const* data() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#