Function wasm_encoder::reencode::utils::parse_data

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

Parses a single wasmparser::Data and adds it to the data section.