wat_to_dcmstring

Function wat_to_dcmstring 

Source
pub fn wat_to_dcmstring(wat_src: &str) -> Result<DcMstring>
Expand description

Converts WebAssembly Text Format (.wat) source into a DcMstring containing a .WASM Document Character stream (Dc 1927..Dc 1928).

ยงErrors

Returns an error if the .wat source fails to parse or cannot be encoded into DcMstring.