Function no_std_compat::char::decode_utf16

1.9.0 · source ·
pub fn decode_utf16<I>(iter: I) -> DecodeUtf16<<I as IntoIterator>::IntoIter> 
where I: IntoIterator<Item = u16>,
Expand description

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