rocket::mtls::x509::der_parser::asn1_rs::nom::bits::streaming

Function take

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

Generates a parser taking count bits