24 static int32_t toUnicode(
const uint8_t* utf8, int32_t length, CharArray unicode);
27 static int32_t toUnicode(
const uint8_t* utf8, int32_t length,
const UnicodeResultPtr& unicodeResult);
30 static String toUnicode(
const uint8_t* utf8, int32_t length);
33 static String toUnicode(
const SingleString& s);
36 static int32_t toUTF8(
const wchar_t* unicode, int32_t length, ByteArray utf8);
39 static int32_t toUTF8(
const wchar_t* unicode, int32_t length,
const UTF8ResultPtr& utf8Result);
42 static SingleString toUTF8(
const wchar_t* unicode, int32_t length);
45 static SingleString toUTF8(
const String& s);
48 static void toLower(String& str);
51 static String toLower(
const String& str);
54 static void toUpper(String& str);
57 static String toUpper(
const String& str);
60 static int32_t compareCase(
const String& first,
const String& second);
66 static int32_t toInt(
const String& value);
69 static int64_t toLong(
const String& value);
72 static int64_t toLong(
const String& value, int32_t base);
75 static double toDouble(
const String& value);
78 static int32_t hashCode(
const String& value);
81 static String toString(int64_t value, int32_t base);
92 #define UTF8_TO_STRING(utf8) StringUtils::toUnicode(utf8, SIZEOF_ARRAY(utf8))