This decoder extracts characters two at a time to get a plain wide character sequence. More...
#include "stringDecoder.h"
Public Member Functions | |
StringUtf16Decoder (const std::string &input) | |
virtual char32_t | get_next_character () |
Returns the next character in sequence. More... | |
Public Member Functions inherited from StringDecoder | |
StringDecoder (const std::string &input) | |
bool | is_eof () |
Returns true if the decoder has returned the last character in the string, false if there are more to go. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from StringDecoder | |
static std::ostream * | get_notify_ptr () |
Returns the ostream that is used to write error messages to. More... | |
static void | set_notify_ptr (std::ostream *ptr) |
Sets the ostream that is used to write error messages to. More... | |
This decoder extracts characters two at a time to get a plain wide character sequence.
It supports surrogate pairs.
Definition at line 58 of file stringDecoder.h.
|
virtual |
Returns the next character in sequence.
Reimplemented from StringDecoder.
Definition at line 179 of file stringDecoder.cxx.