SPInt SF_STDCALL GetByteIndex(SPInt index, const char* putf8str, SPInt length = -1);
GetByteIndex converts UTF-8 character index into byte offset.
|
Parameters |
Description |
|
SPInt index |
UTF-8 character index. |
|
const char* putf8str |
Pointer to UTF-8 string. |
|
SPInt length = -1 |
Length of the string. |
SF_UTF8Util.h