Type Alias wasmparser::CoreTypeSectionReader

source ·
pub type CoreTypeSectionReader<'a> = SectionLimited<'a, CoreType<'a>>;
Expand description

A reader for the core type section of a WebAssembly component.

§Examples

use wasmparser::{CoreTypeSectionReader, BinaryReader, WasmFeatures};
let reader = BinaryReader::new(data, 0, WasmFeatures::all());
let mut reader = CoreTypeSectionReader::new(reader).unwrap();
for ty in reader {
    println!("Type {:?}", ty.expect("type"));
}

Aliased Type§

struct CoreTypeSectionReader<'a> { /* private fields */ }