trait RangeReader extends AnyRef

This trait defines methods for breaking up a source of bytes into Map[Long, Array[Byte]] called a, "chunk". Where the Long is where within the file the chunk begins and the Array[Byte] containing the actual bytes.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RangeReader
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def totalLength: Long

Concrete Value Members

  1. def readAll(): Array[Byte]

    Gets the entire object as an Array.

    Gets the entire object as an Array. This will fail if objectLength > Int.MaxValue

  2. def readRange(start: Long, length: Int): Array[Byte]