[#BloombergLP-balxml-Utf8ReaderWrapper-2constructor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Utf8ReaderWrapper.adoc[Utf8ReaderWrapper]::Utf8ReaderWrapper
:relfileprefix: ../../../
:mrdocs:

Create a `Utf8ReaderWrapper` that holds the specified `reader`&period;

== Synopsis

Declared in `&lt;balxml&lowbar;utf8readerwrapper&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
Utf8ReaderWrapper(
    xref:BloombergLP/balxml/Reader.adoc[Reader]* reader,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

== Description

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 `reader` has never been opened or closed&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *reader*
| reader to hold and wrap
| *basicAllocator*
| memory allocator used to supply memory
|===


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