Skip to main content

compute_list_view_bounds

Function compute_list_view_bounds 

Source
pub(crate) fn compute_list_view_bounds<O: OffsetSizeTrait>(
    array: &GenericListViewArray<O>,
) -> (usize, usize)
Expand description

Computes the minimum offset and maximum end (offset + size) for a ListView array. Returns (min_offset, max_end) which can be used to slice the values array.