UTF8Encoder.encode

Encodes a Unicode code point to UTF-8 into user-provided buffer. Returns number of bytes written, or 0 at error.

struct UTF8Encoder
size_t
encode
(
uint c
,
char[] buffer
)

Meta