SPInt SF_STDCALL GetEncodeStringSize(const wchar_t* pchar, SPInt length = -1);
GetEncodeStringSize determines the number of bytes necessary to encode a string. Does not count the terminating 0 (null) character.
Parameters |
Description |
const wchar_t* pchar |
Pointer to wchar_t string. |
SPInt length = -1 |
Length of the string. |
SF_UTF8Util.h