MCPcopy Index your code
hub / github.com/explodingcamera/tinywasm / parse_module_bytes

Function parse_module_bytes

crates/cli/src/wast_runner.rs:713–715  ·  view source on GitHub ↗
(bytes: &[u8])

Source from the content-addressed store, hash-verified

711}
712
713fn parse_module_bytes(bytes: &[u8]) -> Result<Module> {
714 Ok(tinywasm::parse_bytes(bytes)?)
715}
716
717fn convert_wastargs(args: Vec<wast::WastArg>) -> Result<Vec<WasmValue>> {
718 args.into_iter().map(wastarg2tinywasmvalue).collect()

Callers 1

run_fileMethod · 0.85

Calls 1

parse_bytesFunction · 0.85

Tested by

no test coverage detected