Skip to main content

skip_ascii_spaces

Function skip_ascii_spaces 

Source
pub open spec fn skip_ascii_spaces(bytes: Seq<u8>, start: nat) -> nat
Expand description
{
    if start < bytes.len() && bytes[start as int] == ASCII_SPACE {
        skip_ascii_spaces(bytes, start + 1)
    } else {
        start
    }
}