gwnavruntime/kernel/SF_UTF8Util.h Source File
Go to the documentation of this file.
17 #ifndef INC_KY_Kernel_UTF8Util_H
18 #define INC_KY_Kernel_UTF8Util_H
33 SPInt GetLength(
const char* putf8str, SPInt length = -1);
37 UInt32 GetCharAt(SPInt index,
const char* putf8str, SPInt length = -1);
41 SPInt GetByteIndex(SPInt index,
const char* putf8str, SPInt length = -1);
48 SPInt GetEncodeStringSize(
const wchar_t* pchar, SPInt length = -1);
52 void EncodeString(
char *pbuff,
const wchar_t* pchar, SPInt length = -1);
57 UPInt DecodeString(
wchar_t *pbuff,
const char* putf8str, SPInt bytesLen = -1);
63 int GetEncodeCharSize(
UInt32 ucsCharacter);
69 void EncodeChar(
char* pbuffer, SPInt* poffset,
UInt32 ucsCharacter);
76 UInt32 DecodeNextChar_Advance0(
const char** putf8Buffer);
80 inline UInt32 DecodeNextChar(
const char** putf8Buffer)
82 UInt32 ch = DecodeNextChar_Advance0(putf8Buffer);
std::uint32_t UInt32
uint32_t
Definition: SF_Types.h:137
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17