handle_utf8_first_byte

Function handle_utf8_first_byte 

Source
pub fn handle_utf8_first_byte(byte: u8) -> (bool, i32, TCodepoint)
Expand description

Inspect a UTF-8 first byte.

Returns (is_valid, total_byte_count, initial_codepoint_bits), matching C++ HandleUTF8FirstByte.