Create a UTF-8 checking streambuf wrapper associated with streamBuf.
Declared in <bdlde_utf8checkinginstreambufwrapper.h>
explicit
Utf8CheckingInStreamBufWrapper(
std::streambuf* streamBuf,
bslma::Allocator* basicAllocator = 0);
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.
| Name | Description |
|---|---|
| streamBuf | streambuf to wrap and validate for UTF-8 input |
| basicAllocator | allocator used to supply memory |