Skip to main content

decode_and_run

Function decode_and_run 

Source
pub fn decode_and_run(bytes: &[u8]) -> JsValue
Expand description

Decode a binary bytecode chunk and run it once.

Compat wrapper: each call decodes again. Prefer CompiledCell::from_bytes then CompiledCell::run when the same bytes will run more than once.