Function to_wasm_ptr

Source
pub fn to_wasm_ptr<T>(ptr: FatPtr) -> (WasmPtr<T, Array>, u32)
where T: Copy,
Expand description

Take a regular FatPtr and convert it to a WasmPtr (which makes it easier to interact with the wasmer memory).