Skip to main content

continuation_byte

Function continuation_byte 

Source
pub open spec fn continuation_byte() -> ContinuationByte
Expand description
{
    Mapped {
        inner: Refined(U8, |b: u8| b >= CONTINUATION_BIT),
        mapper: LowBitsMask,
    }
}

Check that high bit is set, and map to the corresponding low 7 bits.