Function holochain_wasmer_guest::merge_usize
source · pub fn merge_usize(a: usize, b: usize) -> Result<u128, WasmError>
Expand description
Given 2x u32
, return a DoubleUSize
merged.
Works via a simple bitwise shift to move the pointer to high bits then OR
the length into the low bits.