1 pub(super) const BYTE_SHIFT: u8 = 6; 2 3 pub(super) const CONT_MASK: u8 = (1 << BYTE_SHIFT) - 1; 4 5 pub(super) const CONT_TAG: u8 = 0b1000_0000; 6 is_continuation(byte: u8) -> bool7 pub(super) const fn is_continuation(byte: u8) -> bool { 8 byte & !CONT_MASK == CONT_TAG 9 } 10