Function decode_wtf8_single

Source
pub fn decode_wtf8_single(
    byte_array_input: &[u8],
) -> Result<(u32, usize), Error>
Expand description

Decode one WTF-8 codepoint from a byte array slice. Returns Ok((codepoint, length)) or Err on error.