wasm_encoder::reencode::component_utils

Function parse_component_canonical_section

source
pub fn parse_component_canonical_section<T: ?Sized + ReencodeComponent>(
    reencoder: &mut T,
    canonical: &mut CanonicalFunctionSection,
    section: ComponentCanonicalSectionReader<'_>,
) -> Result<(), Error<T::Error>>
Available on crate features component-model and wasmparser only.