[#BloombergLP-bdlde-Utf8CheckingInStreamBufWrapper-2constructor-05f] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlde.adoc[bdlde]::xref:BloombergLP/bdlde/Utf8CheckingInStreamBufWrapper.adoc[Utf8CheckingInStreamBufWrapper]::Utf8CheckingInStreamBufWrapper :relfileprefix: ../../../ :mrdocs: Create a UTF‐8 checking streambuf wrapper associated with `streamBuf`. == Synopsis Declared in `<bdlde_utf8checkinginstreambufwrapper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit Utf8CheckingInStreamBufWrapper( std::streambuf* streamBuf, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- == Description Create a `Utf8StreamBufInputWrapper` associated with the specified `streamBuf`. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. == Parameters [cols="1,4"] |=== | Name| Description | *streamBuf* | streambuf to wrap and validate for UTF‐8 input | *basicAllocator* | allocator used to supply memory |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#