Function memory_resize

Source
pub fn memory_resize(
    interpreter: &mut Interpreter<impl InterpreterTypes>,
    memory_offset: U256,
    len: usize,
) -> Option<usize>
Expand description

Common logic for copying data from a source buffer to the EVM’s memory.

Handles memory expansion and gas calculation for data copy operations.