Function decode

Source
pub fn decode<O: Opcode + FromPrimitive, R: Read>(
    source: &mut R,
) -> Result<Instruction<O>, DecodeError>
Expand description

Decodes a single instruction from a source and returns its result or an error