Skip to main content

read_shared_u8

Function read_shared_u8 

Source
pub unsafe fn read_shared_u8(cell: *const SharedCell) -> u8
Expand description

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

§Safety

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