(byte: u8, width: u32)
| 7 | /// for width 3, and 3 bits for width 4. |
| 8 | #[inline] |
| 9 | const fn utf8_first_byte(byte: u8, width: u32) -> u32 { |
| 10 | (byte & (0x7F >> width)) as u32 |
| 11 | } |
| 12 | |
| 13 | /// Returns the value of `ch` updated with continuation byte `byte`. |
| 14 | #[inline] |
no outgoing calls
no test coverage detected