fastdo
0.6.16
|
Unicode转换器。可以使UTF-8、UTF-16、UTF-32字符串相互自由转换,字节序为平台默认 更多...
#include <strings.hpp>
Public 成员函数 | |
UnicodeConverter (Utf8String const &utf8str) | |
UnicodeConverter (UnicodeString const &wstr) | |
UnicodeConverter (Utf16String const &utf16str) | |
UnicodeConverter (Utf32String const &utf32str) | |
Utf8String | toUtf8 (size_t newCap=0) const |
UnicodeString | toUnicode (size_t newCap=0) const |
Utf16String | toUtf16 (size_t newCap=0) const |
Utf32String | toUtf32 (size_t newCap=0) const |
size_t | calcUtf8Length () const |
size_t | calcUnicodeLength () const |
size_t | calcUtf16Length () const |
size_t | calcUtf32Length () const |
Unicode转换器。可以使UTF-8、UTF-16、UTF-32字符串相互自由转换,字节序为平台默认
在文件 strings.hpp 第 1104 行定义.
winux::UnicodeConverter::UnicodeConverter | ( | Utf8String const & | utf8str | ) |
winux::UnicodeConverter::UnicodeConverter | ( | UnicodeString const & | wstr | ) |
winux::UnicodeConverter::UnicodeConverter | ( | Utf16String const & | utf16str | ) |
winux::UnicodeConverter::UnicodeConverter | ( | Utf32String const & | utf32str | ) |
Utf8String winux::UnicodeConverter::toUtf8 | ( | size_t | newCap = 0 | ) | const |
UnicodeString winux::UnicodeConverter::toUnicode | ( | size_t | newCap = 0 | ) | const |
Utf16String winux::UnicodeConverter::toUtf16 | ( | size_t | newCap = 0 | ) | const |
Utf32String winux::UnicodeConverter::toUtf32 | ( | size_t | newCap = 0 | ) | const |
size_t winux::UnicodeConverter::calcUtf8Length | ( | ) | const |
size_t winux::UnicodeConverter::calcUnicodeLength | ( | ) | const |
size_t winux::UnicodeConverter::calcUtf16Length | ( | ) | const |
size_t winux::UnicodeConverter::calcUtf32Length | ( | ) | const |