Available on crate feature
decode
only.Expand description
Decoding support for pulley bytecode.
Modules§
- Functions for decoding the operands of an instruction, assuming the opcode has already been decoded.
Structs§
- A Pulley bytecode decoder.
- A 100% safe implementation of a bytecode stream.
- An
OpVisitor
combinator to sequence one visitor and then another. - An unsafe bytecode stream.
Enums§
- An error when decoding Pulley bytecode.
- An uninhabited type that cannot be constructed at runtime.
Traits§
- An abstraction over any kind of bytecode stream.
- Anything that can be decoded from a bytecode stream, e.g. opcodes, immediates, registers, etc…
- Like
OpVisitor
but for extended operations. - Callbacks upon decoding instructions from bytecode.
Functions§
- Unwrap a
Result<T, Uninhabited>
. Always succeeds, sinceUninhabited
is uninhabited.
Type Aliases§
- Either an
Ok(T)
or anErr(DecodingError)
.