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, BinaryReader, WasmFeatures};
let reader = BinaryReader::new(data, 0, WasmFeatures::all());
let mut reader = ComponentInstanceSectionReader::new(reader).unwrap();
for inst in reader {
println!("Instance {:?}", inst.expect("instance"));
}
Aliased Type§
struct ComponentInstanceSectionReader<'a> { /* private fields */ }