Crate wit_printer

Source
Expand description

A crate to print out the WebAssembly Interface Types textual format.

This crate converts a full WebAssembly file to its textual format, including the necessary pieces to print out the WebAssembly Interface Types section, if present.

Functionsยง

print_bytes
Prints an entire in-memory wasm module to its textual representation, returning the in-memory String of the textual representation.
print_file
Prints an entire wasm file to its textual representation, returning the in-memory String of the textual representation.