MCPcopy Create free account
hub / github.com/WebAssembly/wasm-c-api / wasm_module_serialize

Function wasm_module_serialize

src/wasm-c.cc:756–758  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

754}
755
756void wasm_module_serialize(const wasm_module_t* module, wasm_byte_vec_t* out) {
757 *out = release_byte_vec(reveal_module(module)->serialize());
758}
759
760wasm_module_t* wasm_module_deserialize(
761 wasm_store_t* store, const wasm_byte_vec_t* binary

Callers 1

mainFunction · 0.85

Calls 1

serializeMethod · 0.80

Tested by

no test coverage detected