wasm_encoder::reencode::utils

Function parse_table

source
pub fn parse_table<T: ?Sized + Reencode>(
    reencoder: &mut T,
    tables: &mut TableSection,
    table: Table<'_>,
) -> Result<(), Error<T::Error>>
Available on crate feature wasmparser only.
Expand description

Parses a single wasmparser::Table and adds it to the tables section.