云盘
志元云盘
备份云盘
Home
/
志元云盘
/
webdav
/
home
/
moxa
/
c
/
vue-modbus
/
modbus-project
/
node_modules
/
@webassemblyjs
/
wasm-parser
File
OriginalPic
Thumbnails
CopyAllDownloadUrl
EditTime
Size
lib
2024-01-09 20:09:11
63.84 KB
package.json
1985-10-26 16:15:00
1.06 KB
README.md
1985-10-26 16:15:00
577 B
# @webassemblyjs/wasm-parser > WebAssembly binary format parser ## Installation ```sh yarn add @webassemblyjs/wasm-parser ``` ## Usage ```js import { decode } from "@webassemblyjs/wasm-parser"; import { readFileSync } from "fs"; const binary = readFileSync("/path/to/module.wasm"); const decoderOpts = {}; const ast = decode(binary, decoderOpts); ``` ### Decoder options - `dump`: print dump information while decoding (default `false`) - `ignoreCodeSection`: ignore the code section (default `false`) - `ignoreDataSection`: ignore the data section (default `false`)
2025-09-03 06:56:04 Wednesday 216.73.216.38 Runningtime:0.01s Mem:1.47 MB