Skip to main content

decode_all

Function decode_all 

Source
pub fn decode_all(code: &[u8]) -> Result<Vec<DecodedInstruction>, DecodeError>
Expand description

Decode all instructions in the code section

ยงErrors

Returns a DecodeError if any instruction cannot be decoded.