UTF-8 decoding data source.
More...
#include <cc/Utf8Source>
|
| | 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.
- Exceptions
-
◆ Utf8Source() [1/3]
Create a new UTF-8 decoding data source.
- Parameters
-
| stream | Underlying data stream |
◆ Utf8Source() [2/3]
Create a new UTF-8 decoding data source.
- Parameters
-
| stream | Underlying data stream |
| buffer | Input buffer |
◆ Utf8Source() [3/3]
Create a new UTF-8 decoding data source.
- Parameters
-
◆ read()
| bool read |
( |
Out< char32_t > | ch | ) |
|
Read the next Unicode character.
- Parameters
-
| ch | Returns the Unicode character read if any |
- Returns
- True if not end of information, false otherwise