ContentRange

sealed class ContentRange

Represents a Range header's particular range

Types

Link copied to clipboard
data class Bounded(from: Long, to: Long) : ContentRange

Represents a Content-Range bounded from both sides

Link copied to clipboard
data class Suffix(lastCount: Long) : ContentRange

Represents a Content-Range bounded by tail size

Link copied to clipboard
data class TailFrom(from: Long) : ContentRange

Represents a Content-Range bounded at the beginning (skip first bytes, show tail)

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard