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>>
Expand description

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