commands.sh

wasm2wat

all

Convert a file from the WebAssembly binary format to the text format.

More info →

Options (1)

-o, --outputboolean

Write the output to a given file

Example: wasm2wat {{file.wasm}} {{[-o|--output]}} {{file.wat}}

Examples (2)

Convert a file to the text format and display it to the console

wasm2wat file.wasm

Write the output to a given file

wasm2wat file.wasm [-o|--output] file.wat
made by @shridhargupta | data from tldr-pages