瀏覽代碼

wasm2wat: add page (#2360)

Agniva De Sarker 6 年之前
父節點
當前提交
dc5d1d8b44
共有 1 個文件被更改,包括 11 次插入0 次删除
  1. 11 0
      pages/common/wasm2wat.md

+ 11 - 0
pages/common/wasm2wat.md

@@ -0,0 +1,11 @@
+# wasm2wat
+
+> Convert a file from the WebAssembly binary format to the text format.
+
+- 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 {{file.wat}}`