Skip to main content

count_within_budget_views

Function count_within_budget_views 

Source
fn count_within_budget_views(
    views: &[u128],
    indices: &[usize],
    byte_budget: usize,
    max_value_len: usize,
) -> usize
Expand description

Number of leading indices whose cumulative plain-encoded size fits byte_budget (boundary value included), for view arrays (Utf8View, BinaryView).