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 KY_STDCALL GetLength(
const char* putf8str, SPInt length = -1);
37 UInt32 KY_STDCALL GetCharAt(SPInt index,
const char* putf8str, SPInt length = -1);
41 SPInt KY_STDCALL GetByteIndex(SPInt index,
const char* putf8str, SPInt length = -1);
48 SPInt KY_STDCALL GetEncodeStringSize(
const wchar_t* pchar, SPInt length = -1);
52 void KY_STDCALL EncodeString(
char *pbuff,
const wchar_t* pchar, SPInt length = -1);
57 UPInt KY_STDCALL DecodeString(
wchar_t *pbuff,
const char* putf8str, SPInt bytesLen = -1);
63 int KY_STDCALL GetEncodeCharSize(UInt32 ucsCharacter);
69 void KY_STDCALL EncodeChar(
char* pbuffer, SPInt* poffset, UInt32 ucsCharacter);
76 UInt32 KY_STDCALL DecodeNextChar_Advance0(
const char** putf8Buffer);
80 inline UInt32 DecodeNextChar(
const char** putf8Buffer)
82 UInt32 ch = DecodeNextChar_Advance0(putf8Buffer);
Definition: gamekitcrowddispersion.h:20