logo
pub fn tag<I, O, C, E>(pattern: O, count: C) -> impl Fn((I, usize)) where
    E: ParseError<(I, usize)>,
    I: Slice<RangeFrom<usize>> + InputIter<Item = u8> + InputLength + Clone,
    C: ToUsize,
    O: From<u8> + AddAssign<O> + Shl<usize, Output = O> + Shr<usize, Output = O> + PartialEq<O>, 
Available on crate feature mtls only.
Expand description

Generates a parser taking count bits and comparing them to pattern