Skip to main content

Module decode

Module decode 

Source
Expand description

UTF-8 and UTF-16 decoding iterators

Re-exportsยง

use crate::error::Error; ๐Ÿ”’
use crate::fmt; ๐Ÿ”’
use crate::iter::FusedIterator; ๐Ÿ”’

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.