Function pydis::decode[][src]

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