Skip to main content

byte

pub fn byte<IT, H>(
    context: InstructionContext<'_, H, IT>,
) -> Result<(), InstructionResult>
where IT: InterpreterTypes, H: ?Sized,
Available on crate feature evm only.
Expand description

Implements the BYTE instruction.

Extracts a single byte from a word at a given index.