pub fn get_intersect_offset_len(
offset1: u64,
len1: u64,
offset2: u64,
len2: u64,
) -> Option<(u64, u64)>Expand description
Computes the intersection of two (offset, len) pairs, returning Some((offset, len))
if they overlap, or None if they do not.