Packages

object ByteRange

Source
ByteRange.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ByteRange
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class FromOffset(offset: Long) extends ByteRange with Product with Serializable
  2. final case class Slice(first: Long, last: Long) extends ByteRange with Product with Serializable
  3. final case class Suffix(length: Long) extends ByteRange with Product with Serializable

    Used to specify the last length bytes of an entity.

    Used to specify the last length bytes of an entity. If the entity is shorter than the given length, then the range spans the entire entity.

Value Members

  1. def apply(first: Long, last: Long): Slice
  2. def fromOffset(offset: Long): FromOffset
  3. def suffix(length: Long): Suffix

    Constructs a range that spans the last length bytes of an entity.