pub fn decode_utf16<I: IntoIterator<Item = u16>>(
iter: I,
) -> DecodeUtf16<I::IntoIter> ⓘ
Expand description
Creates an iterator over the UTF-16 encoded code points in iter
, returning
unpaired surrogates as Err
s. Use char::decode_utf16
instead.