Home
last modified time | relevance | path

Searched refs:be_var_u64 (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/rusticata-macros/benches/
Dbench.rs8 use rusticata_macros::combinator::be_var_u64;
14 let res = be_var_u64::<()>(bytes).unwrap(); in bench_bytes_to_u64()
/external/rust/crates/rusticata-macros/src/
Dcombinator.rs34 pub fn be_var_u64<'a, E: ParseError<&'a [u8]>>(input: &'a [u8]) -> IResult<&'a [u8], u64, E> { in be_var_u64() function
72 map_parser(take(size.to_usize()), be_var_u64)(i) in parse_hex_to_u64()
156 use super::{align32, be_var_u64, cond_else, flat_take, pure};
163 let res: IResult<&[u8], u64> = be_var_u64(b"\x12\x34\x56"); in test_be_var_u64()
Dmacros.rs130 map_res(take($size as usize), $crate::combinator::be_var_u64)($i)
/external/rust/crates/rusticata-macros/
DREADME.md60 - Add `be_var_u64` and `le_var_u64`