Function resize_memory
pub fn resize_memory(
interpreter: &mut Interpreter<impl InterpreterTypes>,
offset: Uint<256, 4>,
len: Uint<256, 4>,
) -> Option<Range<usize>>
Available on crate feature
evm
only.Expand description
Resize memory and return range of memory.
If len
is 0 dont touch memory and return usize::MAX
as offset and 0 as length.