dump_routine

Function dump_routine 

Source
pub fn dump_routine(buffer: &mut dyn Write, routine: &Routine) -> Result<()>
Expand description

Dump a VTIL Routine to a String. This format is not stable

Examples found in repository?
examples/dump.rs (line 21)
18fn main() -> Result<()> {
19    let mut argv = env::args();
20    let routine = Routine::from_path(argv.nth(1).unwrap())?;
21    dump_routine(&mut std::io::stdout(), &routine).unwrap();
22    Ok(())
23}