Skip to main content

decode_utf16

Function decode_utf16 

1.9.0 ยท Source
pub fn decode_utf16<I>(iter: I) -> DecodeUtf16<<I as IntoIterator>::IntoIter> โ“˜
where I: IntoIterator<Item = u16>,
๐Ÿ‘ŽDeprecating in a future version:

replaced by the decode_utf16 method on char

Expand description

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