Structs§
- Instruction
With Bytes Iterator - An iterator over each fuel_asm::Instruction or fuel_asm::InvalidOpcode with its corresponding bytes.
Functions§
- get_
bytecode_ id - Gets the bytecode ID from a bytecode file. The bytecode ID is the hash of the bytecode after removing the condigurables section, if any.
- parse_
bytecode_ to_ instructions - Parses a bytecode file into an iterator of instructions and their corresponding bytes.
Type Aliases§
- Instruction
With Bytes - A tuple of an instruction and its corresponding bytes. Useful when needing to access the raw bytes of an instruction that is parsed as fuel_asm::InvalidOpcode, such as metadata in the preamble.