multiversx_chain_vm::mem_conv

Function with_mem_ptr

Source
pub fn with_mem_ptr<F, R>(bytes: &[u8], f: F) -> R
where F: FnOnce(MemPtr, MemLength) -> R,