fn deserialize_compiled_module(binary: &[u8]) -> BinaryLoaderResult<CompiledModuleMut> {
    let binary_len = binary.len() as u64;
    let mut cursor = Cursor::new(binary);
    let table_count = check_binary(&mut cursor)?;
    let mut tables: Vec<Table> = Vec::new();
    read_tables(&mut cursor, table_count, &mut tables)?;
    check_tables(&mut tables, cursor.position(), binary_len)?;

    build_compiled_module(binary, &tables)
}
/// Module internal function that manages deserialization of modules.
Module internal function that manages deserialization of modules.
Module internal function that manages deserialization of modules .
fn deserialize_compiled_module(binary: &[u8]) -> BinaryLoaderResult<CompiledModuleMut> {
    let binary_len = binary.len() as u64;
    let mut cursor = Cursor::new(binary);
    let table_count = check_binary(&mut cursor)?;
    let mut tables: Vec<Table> = Vec::new();
    read_tables(&mut cursor, table_count, &mut tables)?;
    check_tables(&mut tables, cursor.position(), binary_len)?;
    build_compiled_module(binary, &tables)
}
fn deserialize_compiled_module ( binary : & [ u8 ] ) -> BinaryLoaderResult < CompiledModuleMut > { let binary_len = binary . len ( ) as u64 ; let mut cursor = Cursor :: new ( binary ) ; let table_count = check_binary ( & mut cursor ) ? ; let mut tables : Vec < Table > = Vec :: new ( ) ; read_tables ( & mut cursor , table_count , & mut tables ) ? ; check_tables ( & mut tables , cursor . position ( ) , binary_len ) ? ; build_compiled_module ( binary , & tables ) }
Module internal function that manages deserialization of modules.
Module internal function that manages deserialization of modules .
binary
&[u8]
binary
&[u8]