pub fn tag<I, O, C, E: ParseError<(I, usize)>>(
pattern: O,
count: C
) -> impl Fn((I, usize)) -> IResult<(I, usize), O, E>where
I: Slice<RangeFrom<usize>> + InputIter<Item = u8> + InputLength + Clone,
C: ToUsize,
O: From<u8> + AddAssign + Shl<usize, Output = O> + Shr<usize, Output = O> + PartialEq,
👎Deprecated since 8.0.0: Replaced with
nom8::bits::tag
with input wrapped in nom8::input::Streaming
Expand description
Generates a parser taking count
bits and comparing them to pattern
WARNING: Deprecated, replaced with nom8::bits::tag
with input wrapped in nom8::input::Streaming