rusticata_macros::combinator

Function flat_takec

Source
pub fn flat_takec<I, O, E: ParseError<I>, C, F>(
    input: I,
    len: C,
    parser: F,
) -> IResult<I, O, E>
where C: ToUsize + Copy, F: Parser<I, O, E>, I: InputTake + InputLength + InputIter, O: InputLength,
Expand description

Take len bytes from input, and apply parser.