pub(crate) fn current_offset(
original_offsets: &[usize],
current_offsets: &[usize],
end_offset: usize,
original: usize,
) -> usizeExpand description
Translates a code boundary from original segment offsets to the segment offsets after resizing.
A boundary is either the start of a segment or the end of the code (end_offset after
resizing).