pub fn tag<I, O, C, E: ParseError<(I, usize)>, const STREAMING: bool>( pattern: O, count: C, ) -> impl Fn((I, usize)) -> IResult<(I, usize), O, E>where I: Slice<RangeFrom<usize>> + InputIter<Item = u8> + InputLength + InputIsStreaming<STREAMING> + Clone, C: ToUsize, O: From<u8> + AddAssign + Shl<usize, Output = O> + Shr<usize, Output = O> + PartialEq,
Generates a parser taking count bits and comparing them to pattern
count
pattern