[#BloombergLP-bslx-TestInStream-data]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/TestInStream.adoc[TestInStream]::data
:relfileprefix: ../../../
:mrdocs:

Return the address of this stream&apos;s contiguous external memory buffer&period;

== Synopsis

Declared in `&lt;bslx&lowbar;testinstream&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
char const*
data() const;
----

== Description

Return the address of the contiguous, non&hyphen;modifiable external memory buffer of this stream&period; The behavior of accessing elements outside the range `&lsqb; data() &period;&period; data() &plus; (length() &hyphen; 1) &rsqb;` is undefined&period;

== Return Value

address of the external buffer


[.small]#Created with https://www.mrdocs.com[MrDocs]#
