Skip to main contentModule bytecode
Source use revm::bytecode::OpCode; ๐ use revm::bytecode::opcode; ๐ use std::fmt; ๐ use std::slice; ๐
- Inst
- An opcode and its immediate data. Returned by
InstIter. - InstIter
- An iterator that yields opcodes and their immediate data.
- InstIterWithPc
- A bytecode iterator that yields opcodes and their immediate data, alongside the program counter.
- format_bytecode
- Returns a string representation of the given bytecode.
- format_bytecode_to
- Formats an EVM bytecode to the given writer.
- imm_len ๐
- Returns the length of the immediate data for the given opcode, or
0 if none.