fn count_within_budget_offsets<T: ByteArrayType>(
values: &GenericByteArray<T>,
indices: &[usize],
byte_budget: usize,
) -> usizeExpand description
Number of leading indices whose cumulative plain-encoded size fits
byte_budget (boundary value included), for offset-buffer byte arrays
(Utf8/LargeUtf8/Binary/LargeBinary).
indices come from non_null_indices. They are strictly increasing for
most arrays, but a ListView can reference its child values in any
order and more than once.