Module decode

Source
Expand description

UTF-8 and UTF-16 decoding iterators

Structs§

DecodeUtf16
An iterator that decodes UTF-16 encoded code points from an iterator of u16s.
DecodeUtf16Error
An error that can be returned when decoding UTF-16 code points.

Functions§

decode_utf16 🔒
Creates an iterator over the UTF-16 encoded code points in iter, returning unpaired surrogates as Errs. See char::decode_utf16.