Function wasm_encoder::reencode::utils::parse_data_section

source ยท
pub fn parse_data_section<T: ?Sized + Reencode>(
    reencoder: &mut T,
    data: &mut DataSection,
    section: DataSectionReader<'_>,
) -> Result<(), Error<T::Error>>
Available on crate feature wasmparser only.
Expand description

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