Function add_old
fn add_old(old: &mut impl BufRead, data: &mut [u8]) -> Result<usize>Expand description
Adds the next bytes of old to data and returns how many bytes old
lacked.
Like the reference implementation, this treats the bytes past the end of the old file as zero.