[#BloombergLP-ball-Log-obtainMessageBuffer-02]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/Log.adoc[Log]::obtainMessageBuffer
:relfileprefix: ../../../
:mrdocs:

Return a managed pointer that refers to the memory block to which this thread of execution has exclusive access and load the size (in bytes) of this buffer into the specified `bufferSize` address&period; Note that this method is intended for _internal_ _use_ only&period;

== Synopsis

Declared in `&lt;ball&lowbar;log&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bslma/ManagedPtr-0fa.adoc[bslma::ManagedPtr&lt;char&gt;]
obtainMessageBuffer(int* bufferSize);
----


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