Parses QuickJS bytecode binaries into VM program/function instruction IR.
Binary format matches JS_WriteObjectAtoms / JS_ReadObjectAtoms / JS_ReadFunctionTag in priv/c_src/quickjs.c exactly.
Summary
Functions
Decodes a QuickJS bytecode binary into a %QuickBEAM.VM.Program{}.
Functions
@spec decode(binary()) :: {:ok, QuickBEAM.VM.Program.t()} | {:error, term()}
Decodes a QuickJS bytecode binary into a %QuickBEAM.VM.Program{}.