RangeDef

object RangeDef
Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(f: FileMeta => Validated[String, Range]): RangeDef
def byteRange(value: Ior[Int, Int]): RangeDef

From a range like a-b in bytes. It may also be -b or a-.

From a range like a-b in bytes. It may also be -b or a-.

def bytes(offset: Option[Int], count: Option[Int]): RangeDef

Calculating Range given the chunksize

Calculating Range given the chunksize

def firstBytes(n: Int): RangeDef
def firstChunks(n: Int): RangeDef

Concrete fields