Function hdk::prelude::merge_u64

pub fn merge_u64(guest_ptr: u32, len: u32) -> u64
Expand description

Given a pointer and a length, return a u64 merged GuestPtrLen. Works via a simple bitwise shift to move the pointer to high bits then OR the length into the low bits.