Function wasmer_c_api::wasm_c_api::module::wasm_module_serialize[][src]

#[no_mangle]pub unsafe extern "C" fn wasm_module_serialize(
    module: &wasm_module_t,
    out_ptr: &mut wasm_byte_vec_t
)

Serializes a module into a binary representation that the engine can later process via wasm_module_deserialize.

Example

See wasm_module_deserialize.