Function wasm_encoder::reencode::utils::parse_function_section

source ยท
pub fn parse_function_section<T: ?Sized + Reencode>(
    reencoder: &mut T,
    functions: &mut FunctionSection,
    section: FunctionSectionReader<'_>,
) -> Result<(), Error<T::Error>>
Expand description

Parses the input section given from the wasmparser crate and adds all the functions to the functions section.