read_be_utf8_char

Function read_be_utf8_char 

Source
pub fn read_be_utf8_char<T: Bits + ?Sized>(
    src: &mut T,
) -> Result<(char, usize), Error>
Expand description

Reads 1, 2, 3, or 4 bytes representing the unicode UTF-8 formatted character from the specified input. Returns the character read and the number of bytes consumed.