Skip to main content

list_header

Function list_header 

Source
pub fn list_header(buf: &[u8], slot: u64, elem_align: u32) -> Result<(u64, u32)>
Expand description

Follow a u32 offset slot at slot to a list header. Returns (elements base, count); elements are stride apart per the schema layout.