utf8_getc


Description:


public uint32 utf8_getc (ref uint8 ptr)

Get a Unicode character from a UTF-8 stream.

ptr will be advanced to the next character position. Invalid utf8 characters will be silently skipped. The ptr should point to a NUL terminated array.

Parameters:

ptr

a pointer to read the character from

Returns:

The next Unicode character. The ptr will be advanced to the next character always.


Namespace: Camel
Package: camel-1.2