mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
18 lines
443 B
Plaintext
18 lines
443 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# wasm2wat
|
|
|
|
> Convert a file from the WebAssembly binary format to the text format.
|
|
> More information: <https://webassembly.github.io/wabt/doc/wasm2wat.1.html>.
|
|
|
|
- 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}}`
|