Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* $checklength is the maximum offset in buffer to check which byte(s) in the 2 buffers are not equal * The subsequent loop is from 0 to $checklength, so avoid potentially accessing $bytes1[$chunk_size] * If $read_in1 and $read_in2 are equal to $chunk_size, the value of $checklength is not decremented * Calculate minimum of $read_in1 and $read_in2 (these will never exceed $chunk_size), then decrement by 1
- Loading branch information