|
CoreComponents 4.0.0
A Modern C++ Toolkit
|
UTF-8 decoding data source. More...
#include <cc/Utf8Source>
Public Member Functions | |
| Utf8Source (const Stream &stream) | |
| Create a new UTF-8 decoding data source. | |
| Utf8Source (const Stream &stream, const Bytes &buffer) | |
| Create a new UTF-8 decoding data source. | |
| Utf8Source (const Bytes &buffer) | |
| Create a new UTF-8 decoding data source. | |
| bool | read (Out< char32_t > ch) |
| Read the next Unicode character. | |
UTF-8 decoding data source.
| UnicodeError |
| Utf8Source | ( | const Stream & | stream | ) |
Create a new UTF-8 decoding data source.
| stream | Underlying data stream |
| Utf8Source | ( | const Stream & | stream, |
| const Bytes & | buffer | ||
| ) |
Create a new UTF-8 decoding data source.
| stream | Underlying data stream |
| buffer | Input buffer |
| Utf8Source | ( | const Bytes & | buffer | ) |
Create a new UTF-8 decoding data source.
| buffer | Input buffer |
| bool read | ( | Out< char32_t > | ch | ) |
Read the next Unicode character.
| ch | Returns the Unicode character read if any |