fn compute_total_range_size(ranges: &[Range<u64>]) -> (u64, u64)Expand description
Computes the max possible buffer size to read the given ranges.
Returns (aligned_size, unaligned_size) where:
- aligned_size: total size aligned to pooled buffer size
- unaligned_size: actual total size without alignment