Function print_bytes

Source
pub fn print_bytes(wasm: impl AsRef<[u8]>) -> Result<String>
Expand description

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.