pub type ComponentInstanceSectionReader<'a> = SectionLimited<'a, ComponentInstance<'a>>;
Expand description

A reader for the component instance section of a WebAssembly component.

Examples

use wasmparser::ComponentInstanceSectionReader;
let mut reader = ComponentInstanceSectionReader::new(data, 0).unwrap();
for inst in reader {
    println!("Instance {:?}", inst.expect("instance"));
}