BloombergLP::bdlde::Utf8CheckingInStreamBufWrapper::Utf8CheckingInStreamBufWrapper

Create a UTF-8 checking streambuf wrapper associated with streamBuf.

Synopsis

Declared in <bdlde_utf8checkinginstreambufwrapper.h>

explicit
Utf8CheckingInStreamBufWrapper(
    std::streambuf* streamBuf,
    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

NameDescription
streamBufstreambuf to wrap and validate for UTF-8 input
basicAllocatorallocator used to supply memory