(ch: u32, byte: u8)
| 319 | /// Returns the value of `ch` updated with continuation byte `byte`. |
| 320 | #[inline] |
| 321 | const fn utf8_acc_cont_byte(ch: u32, byte: u8) -> u32 { |
| 322 | (ch << 6) | (byte & CONT_MASK) as u32 |
| 323 | } |
| 324 | |
| 325 | /// Checks whether the byte is a UTF-8 continuation byte (i.e., starts with the |
| 326 | /// bits `10`). |
no outgoing calls
no test coverage detected