Struct UTF16Encoder

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

struct UTF16Encoder ;

Methods

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