- toResourceRegions
Convert each HttpRange into a ResourceRegion, selecting the appropriate segment
of the given Resourc
- getRangeEnd
Return the end of the range (inclusive) given the total length of a
representation.
- getRangeStart
Return the start of the range given the total length of a representation.
- parseRanges
Parse the given, comma-separated string into a list of HttpRange objects.This
method can be used to
- toResourceRegion
Turn a Resource into a ResourceRegion using the range information contained in
the current HttpRange
- getLengthFor
- parseRange
- createByteRange
Create a HttpRange from the given fist to last position.
- createSuffixRange
Create an HttpRange that ranges over the last given number of bytes.