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