The utf16charstring class provides static methods for manipulating UCS-2 encoded character strings.
◆ getLength()
static size_t utf16charstring::getLength |
( |
const utf16_t * |
string, |
|
|
bool |
bigendian |
|
) |
| |
|
static |
Returns the number of characters in "string".
◆ getSize()
static size_t utf16charstring::getSize |
( |
const utf16_t * |
string, |
|
|
bool |
bigendian |
|
) |
| |
|
static |
Returns the number of bytes in "string", including the null terminator.
◆ isBigEndian()
static bool utf16charstring::isBigEndian |
( |
const utf16_t * |
str | ) |
|
|
static |
Returns true if the current character in "str" is a bigendian byte-order mark and false otherwise.
◆ isByteOrderMark()
static bool utf16charstring::isByteOrderMark |
( |
const utf16_t * |
str | ) |
|
|
static |
Returns true if the current character in "str" is the byte order mark and false otherwise.