Function resize_memory
pub fn resize_memory(
memory: &mut SharedMemory,
gas: &mut Gas,
new_size: usize,
) -> bool
Expand description
Resize the memory to the new size. Returns whether the gas was enough to resize the memory.
pub fn resize_memory(
memory: &mut SharedMemory,
gas: &mut Gas,
new_size: usize,
) -> bool
Resize the memory to the new size. Returns whether the gas was enough to resize the memory.