Function load_program
pub fn load_program(bytes: &[u8]) -> Result<RuntimeProgram, LoadError>Expand description
Loads a .cdlb bytecode artifact into a runnable RuntimeProgram.
ยงErrors
Returns a LoadError if the magic/version header is wrong or the body
fails to decode.