public static ByteRange fromLastNBytes(long lastNBytes) {
    if (lastNBytes < 0) {
      throw new IllegalArgumentException("Invalid range offsets provided for ByteRange; lastNBytes=" + lastNBytes);
    }
    return new SuffixRange(lastNBytes);
  }
Construct a range that represents the last N bytes of an object.
@param lastNBytes the number of bytes to read from the end of an object.
@return A {@link ByteRange} representing the last N bytes of an objects.
@throws IllegalArgumentException if the number of bytes to read is less than or equal to 0.
ambry-api/src/main/java/com/github/ambry/router/ByteRanges.java