CoreComponents 3.0.0
A Modern C++ Toolkit
|
UTF-8 encoding data sink. More...
#include <cc/Utf8Sink>
Public Member Functions | |
Utf8Sink (const Stream &stream) | |
Create a new UTF-8 encoding data sink. | |
Utf8Sink (const Stream &stream, const Bytes &buffer) | |
Create a new UTF-8 encoding data sink. | |
Utf8Sink (const Bytes &buffer) | |
Create a new UTF-8 encoding data sink. | |
void | write (char32_t ch) |
Write Unicode character ch. | |
long long | currentOffset () const |
Get the total number of bytes written. | |
UTF-8 encoding data sink.
UnicodeError |
Create a new UTF-8 encoding data sink.
stream | Underlying data stream |
Create a new UTF-8 encoding data sink.
stream | Underlying data stream |
buffer | Output buffer |
Create a new UTF-8 encoding data sink.
buffer | Output buffer |
void write | ( | char32_t | ch | ) |
Write Unicode character ch.
long long currentOffset | ( | ) | const |
Get the total number of bytes written.