Offsets

final case class Offsets(firstChunk: Int, takeChunks: Int, dropStart: Int, takeEnd: Int)

Offsets counters for a sequence of chunks that make up the complete file to retrieve only a part from it.

Value parameters:
dropStart

how many bytes to drop from the first chunk

firstChunk

the number of the first chunk (starting from 0)

takeChunks

how many chunks to take starting from firstChunk

takeEnd

how many bytes to take from the last chunk. If first and last chunk are the same, then the dropStart must be applied first

Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def isChunked: Boolean
def isNone: Boolean

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product

Concrete fields

val lastChunk: Int