fn rindex(bytes: &[u8]) -> usize {
        const MAX: usize = std::usize::MAX;
        let len = bytes.len();
        match len {
            1..=MAX if bytes[len - 1] == b'Z' => len - 1,
            6..=MAX => len - 6,
            _ => 0,
        }
    }
/// Find possible index of a TimeOffset at the end of a byte slice
Find possible index of a TimeOffset at the end of a byte slice
Find possible index of a TimeOffset at the end of a byte slice
fn rindex(bytes: &[u8]) -> usize {
        const MAX: usize = std::usize::MAX;
        let len = bytes.len();
        match len {
            1..=MAX if bytes[len - 1] == b'Z' => len - 1,
            6..=MAX => len - 6,
            _ => 0,
        }
    }
fn rindex ( bytes : & [ u8 ] ) -> usize { const MAX : usize = std :: usize :: MAX ; let len = bytes . len ( ) ; match len { 1 ..= MAX if bytes [ len - 1 ] == b'Z' => len - 1 , 6 ..= MAX => len - 6 , _ => 0 , } }
Find possible index of a TimeOffset at the end of a byte slice
Find possible index of a TimeOffset at the end of a byte slice
bytes
&[u8]