open static fun createByteRange(firstBytePos: Long): HttpRange
Create an HttpRange from the given position to the end.
firstBytePos - the first byte position
Return
a byte range that ranges from firstPos till the end
See Also
<a href="http://tools.ietf.org/html/rfc7233#section-2.1">Byte Ranges</a>
open static fun createByteRange(firstBytePos: Long, lastBytePos: Long): HttpRange
Create a HttpRange from the given fist to last position.
firstBytePos - the first byte position
lastBytePos - the last byte position
Return
a byte range that ranges from firstPos till lastPos
See Also
<a href="http://tools.ietf.org/html/rfc7233#section-2.1">Byte Ranges</a>