quickjs_rusty::compile

Function from_bytecode

Source
pub fn from_bytecode(
    context: *mut JSContext,
    bytecode: &[u8],
) -> Result<OwnedJsValue, ExecutionError>
Expand description

read a compiled function from bytecode, see to_bytecode for an example