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