UTF16LEEncoder

UTF-16 LE encoder to use with dlib.text.encodings.transcode

Members

Functions

encode
size_t encode(uint ch, char[] buffer)

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

Meta