[#BloombergLP-bdlsb-OverflowMemOutput-2constructor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlsb.adoc[bdlsb]::xref:BloombergLP/bdlsb/OverflowMemOutput.adoc[OverflowMemOutput]::OverflowMemOutput
:relfileprefix: ../../../
:mrdocs:

Create an `OverflowMemOutput` using the specified `buffer` of the specified `length` as the initial output buffer&period; Optionally specify a `basicAllocator` used to supply memory&period; If `basicAllocator` is 0, the currently installed default allocator is used&period; The behavior is undefined unless `buffer !&equals; 0 &amp;&amp; length &gt; 0`&period; Note that this stream buffer does not assume ownership of `buffer`&period;

== Synopsis

Declared in `&lt;bdlsb&lowbar;overflowmemoutput&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
OverflowMemOutput(
    char* buffer,
    std::size&lowbar;t length,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----


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