lhl 6ff0e96ad3 8-4-1 | il y a 1 an | |
---|---|---|
.. | ||
esm | il y a 1 an | |
lib | il y a 1 an | |
LICENSE | il y a 1 an | |
README.md | il y a 1 an | |
package.json | il y a 1 an |
WebAssembly binary format parser
yarn add @webassemblyjs/wasm-parser
import { decode } from "@webassemblyjs/wasm-parser";
const decoderOpts = {};
const ast = decode(binary, decoderOpts);
dump
: print dump information while decoding (default false
)ignoreCodeSection
: ignore the code section (default false
)ignoreDataSection
: ignore the data section (default false
)