Struct revm_interpreter::analysis::BytecodeLocked
source · pub struct BytecodeLocked { /* private fields */ }
Implementations§
source§impl BytecodeLocked
impl BytecodeLocked
pub fn as_ptr(&self) -> *const u8
pub fn len(&self) -> usize
pub fn hash(&self) -> B256
pub fn is_empty(&self) -> bool
pub fn unlock(self) -> Bytecode
pub fn bytecode(&self) -> &[u8] ⓘ
pub fn original_bytecode_slice(&self) -> &[u8] ⓘ
pub fn jumptable(&self) -> &ValidJumpAddress
Trait Implementations§
source§impl Clone for BytecodeLocked
impl Clone for BytecodeLocked
source§fn clone(&self) -> BytecodeLocked
fn clone(&self) -> BytecodeLocked
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more