Range
class Range(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)
Represents a byte range as used in the Range header.
If @end is non-negative, then @start and @end represent the bounds of of the range, counting from 0. (Eg, the first 500 bytes would be represented as @start = 0 and @end = 499.)
If @end is -1 and @start is non-negative, then this represents a range starting at @start and ending with the last byte of the requested resource body. (Eg, all but the first 500 bytes would be
Constructors
Link copied to clipboard
constructor()
Allocate a new Range.
constructor(scope: <Error class: unknown class>)
Allocate a new Range using the provided AutofreeScope.
constructor(start: <Error class: unknown class>, end: <Error class: unknown class>)
Allocate a new Range.
constructor(start: <Error class: unknown class>, end: <Error class: unknown class>, scope: <Error class: unknown class>)
Allocate a new Range using the provided AutofreeScope.
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)