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

Name

Description

streamBuf

streambuf to wrap and validate for UTF‐8 input

basicAllocator

allocator used to supply memory

Created with MrDocs