dcmstring_to_wasm

Function dcmstring_to_wasm 

Source
pub fn dcmstring_to_wasm(doc: &DcMstr) -> Result<Vec<u8>>
Expand description

Converts a Dc-WASM document (Dc 1927 "Begin WASM program"..Dc 1928 "End WASM program" or a standalone wasm_routine) into a standard binary .wasm module using the default system graph syntax resolver.

ยงErrors

Returns an error if the document fails strict syntax validation or contains invalid WebAssembly instructions, types, or immediate arguments.