ByteRange

object ByteRange

Provides factory for ByteRange.

Companion
class
class Object
trait Matchable
class Any

Type members

Classlikes

sealed

Byte range spec

Byte range spec

See also
case
class Slice(first: Long, last: Option[Long]) extends ByteRangeSpec

Byte range spec with first position and optional last position.

Byte range spec with first position and optional last position.

case
class Suffix(length: Long) extends ByteRangeSpec

Byte range spec with suffix length.

Byte range spec with suffix length.

Value members

Concrete methods

def apply(specs: Seq[ByteRangeSpec]): ByteRange

Creates byte range from supplied specs.

Creates byte range from supplied specs.

Creates byte range from supplied specs.

Creates byte range from supplied specs.

def parse(range: String): ByteRange

Parses formatted byte range.

Parses formatted byte range.