ContentRange

sealed class ContentRange

Represents a Range header's particular range

Types

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

Represents a Content-Range bounded from both sides

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

Represents a Content-Range bounded by tail size

Link copied to clipboard
data class TailFrom(val 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