Crate rusticata_macros [] [src]

Rusticata-macros

Helper macros for the rusticata project.

Reexports

pub use macros::*;
pub use gen::*;

Modules

gen
macros

Macros

do_gen
error_if

Helper macro for nom parsers: raise error if the condition is false

gen_adjust_length_u16

Write the length taken from (start) to (current position) at (offset) Then, returns to current offset

gen_align
gen_at_offset
gen_at_rel_offset
gen_be_u16
gen_be_u24
gen_be_u32
gen_be_u8
gen_call
gen_cond
gen_copy
gen_if_else
gen_length_slice
gen_many
gen_many_ref
gen_skip
gen_slice
parse_hex_to_u64