(ch: u32, byte: u8)
| 13 | /// Returns the value of `ch` updated with continuation byte `byte`. |
| 14 | #[inline] |
| 15 | const fn utf8_acc_cont_byte(ch: u32, byte: u8) -> u32 { |
| 16 | (ch << 6) | (byte & CONT_MASK) as u32 |
| 17 | } |
| 18 | |
| 19 | /// Checks whether the byte is a UTF-8 continuation byte (i.e., starts with the |
| 20 | /// bits `10`). |
no outgoing calls
no test coverage detected