Skip to main content

encode_bytecode

Function encode_bytecode 

Source
pub fn encode_bytecode(program: &BytecodeProgram) -> Vec<u8> ⓘ
Expand description

Serialize a program to the .rbc wire format: MAGIC, VERSION, then the metadata, probe table, pools, and instruction stream in the order given in the module docs.