Skip to main content

read_shared_u32

Function read_shared_u32 

Source
pub unsafe fn read_shared_u32(cell: *const SharedCell) -> u32
Expand description

Read a u32 from a SharedCell’s payload, truncating the upper bytes.

§Safety

cell must point to a live SharedCell whose interior FieldKind is U32.