pub fn line_aligned_chunks(
data: &[u8],
max_chunks: usize,
) -> Vec<(usize, usize)>Expand description
Build up to max_chunks contiguous byte ranges [start, end) covering data, where each
range starts at a line boundary (byte 0 or immediately after \n). Ranges partition the file
without splitting lines.