Skip to main content

try_decode_iter_char

Function try_decode_iter_char 

Source
pub fn try_decode_iter_char<E>(
    offset: usize,
    iter: &mut impl Iterator<Item = Result<u8, E>>,
) -> Result<Option<(char, u8)>, E>
where E: From<Utf8Error>,
Expand description

Read the next Unicode character out of the given fallible byte iterator.