class HttpResolvedRange
source · line 23public
public class HttpResolvedRange public constructor(
/**
* The inclusive first byte offset.
*/
public val first: Long,
/**
* The inclusive final byte offset.
*/
public val last: Long) : ToString
- Supertype
ToString
A validated nonnegative inclusive byte interval whose length fits Long.
property length
source · line 39public
public val length: Long
get: public read-only
The exact number of bytes, last - first + 1.
getter get
source · line 39public
get(): Long
constructor constructor
source · line 23public
constructor(public val first: Long, public val last: Long)
parameter last
source · line 31public
public val last: Long
parameter first
source · line 27public
public val first: Long
property last
source · line 31public
public val last: Long
get: public read-only
The inclusive final byte offset.
function toString
source · line 43public
public override fun toString(): String
- Overrides
toString
Formats the inclusive first-last interval.
property first
source · line 27public
public val first: Long
get: public read-only
The inclusive first byte offset.