25 static int32_t toUnicode(
const uint8_t* utf8, int32_t length, CharArray unicode);
28 static int32_t toUnicode(
const uint8_t* utf8, int32_t length,
UnicodeResultPtr unicodeResult);
31 static String toUnicode(
const uint8_t* utf8, int32_t length);
34 static String toUnicode(
const SingleString& s);
37 static int32_t toUTF8(
const wchar_t* unicode, int32_t length, ByteArray utf8);
40 static int32_t toUTF8(
const wchar_t* unicode, int32_t length,
UTF8ResultPtr utf8Result);
43 static SingleString toUTF8(
const wchar_t* unicode, int32_t length);
46 static SingleString toUTF8(
const String& s);
49 static void toLower(String& str);
52 static String toLower(
const String& str);
55 static void toUpper(String& str);
58 static String toUpper(
const String& str);
61 static int32_t compareCase(
const String& first,
const String& second);
67 static int32_t toInt(
const String& value);
70 static int64_t toLong(
const String& value);
73 static int64_t toLong(
const String& value, int32_t base);
76 static double toDouble(
const String& value);
79 static int32_t hashCode(
const String& value);
82 static String toString(int64_t value, int32_t base);
94 #define UTF8_TO_STRING(utf8) StringUtils::toUnicode(utf8, SIZEOF_ARRAY(utf8))