= renaming AppliedByteRange to AppliedIndexRange and changed index arithmetic to endIndex-exclusive.