pub unsafe fn from_bytecode(
context: *mut JSContext,
bytecode: &[u8],
) -> Result<QuickJsValueAdapter, JsError>
Expand description
read a compiled function from bytecode, see to_bytecode for an example
ยงSafety
When passing a context pointer please make sure the corresponding QuickJsContext is still valid