Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not substract 1 if the buffer length is 0.
Start value should be lower or equal with end value. When buffer length is 0 (empty file), this snippet was throwing an error. After this change we substract one unit if the buffer length is not 0.
- Loading branch information