[−][src]Function wit_printer::print_bytes
pub fn print_bytes(wasm: impl AsRef<[u8]>) -> Result<String>
Prints an entire in-memory wasm module to its textual representation,
returning the in-memory String
of the textual representation.
Errors
Returns an error if the bytes weren't a valid wasm blob.