const fn utf8_first_byte(byte: u8, width: u32) -> u32
Expand description

Returns the initial codepoint accumulator for the first byte. The first byte is special, only want bottom 5 bits for width 2, 4 bits for width 3, and 3 bits for width 4.