inline UInt32 DecodeNextChar(const char** putf8Buffer);
DecodeNextChar returns the next Unicode character in the UTF-8 encoded buffer. Invalid UTF-8 sequences produce a U+FFFD character as output. Advances *utf8_buffer past the character returned, unless the returned character is '0', in which case the buffer does not advance.
Parameters |
Description |
const char** putf8Buffer |
Pointer to the UTF-8 encoded buffer. |
A UInt32 value containing the next Unicode character.
SF_UTF8Util.h