ByteRange

data class ByteRange(val start: Long, val end: Long)

A range within byte data.

Constructors

Link copied to clipboard
fun ByteRange(start: Long, end: Long)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)

Properties

Link copied to clipboard
val end: Long

The end of the range as a byte offset. The range is up-to but not including the end offset. Thus reading the range 0-100 would return 100 bytes.

Link copied to clipboard
val start: Long

The start of the range as a byte offset.