云盘
志元云盘
备份云盘
Home
/
志元云盘
/
webdav
/
sync
/
c
/
vue-modbus
/
modbus-project
/
node_modules
/
@webassemblyjs
/
wasm-parser
File
OriginalPic
Thumbnails
CopyAllDownloadUrl
EditTime
Size
lib
2024-08-14 13:41:26
63.84 KB
package.json
2024-07-14 16:18:58
1.06 KB
README.md
2024-07-14 16:18:58
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-08-29 22:52:47 Friday 216.73.216.167 Runningtime:0.015s Mem:1.47 MB