javy_plugin_api

Function run_bytecode

Source
pub fn run_bytecode(bytecode: &[u8], fn_name: Option<&str>)
Expand description

Evaluate the given bytecode.

Deprecated for use outside of this crate.

Evaluating also prepares (or “instantiates”) the state of the JavaScript engine given all the information encoded in the bytecode.