Skip to main content

offset_index_lookup

Function offset_index_lookup 

Source
pub fn offset_index_lookup(entries: &[OffsetEntry], target: u32) -> u32
Expand description

The position of the last entry at or below target, or zero. Entries must be strictly sorted by relative offset.