25#if defined(__cplusplus)
57A_EXTERN
a_size a_utf_length_(
void const *ptr,
a_size num);
59#if defined(__cplusplus)
unsigned int a_utf_encode(a_u32 val, void *buf)
encode one unicode code point into UTF-8
a_size a_utf_length(void const *ptr, a_size num, a_size *stop)
number of unicode code points in a UTF-8 encoded byte sequence
unsigned int a_utf_decode(void const *ptr, a_size num, a_u32 *val)
decode one unicode code point from UTF-8
unsigned long a_u32
unsigned integer type with width of exactly 32 bits
Definition a.h:538
size_t a_size
unsigned integer type returned by the sizeof operator
Definition a.h:823