Chunk
- Companion
- class
Type members
Classlikes
case class ArraySlice[O](values: Array[O], offset: Int, length: Int)(ct: ClassTag[O]) extends Chunk[O]
- Companion
- object
sealed abstract class Buffer[A <: Buffer[A, B, C], B <: Buffer, C](buf: B, val offset: Int, val size: Int)(evidence$4: ClassTag[C]) extends Chunk[C]
case class CharBuffer(buf: CharBuffer, offset: Int, size: Int) extends Buffer[CharBuffer, CharBuffer, Char]
- Companion
- object
A FIFO queue of chunks that provides an O(1) size method and provides the ability to
take and drop individual elements while preserving the chunk structure as much as possible.
take and drop individual elements while preserving the chunk structure as much as possible.
This is similar to a queue of individual elements but chunk structure is maintained.
- Companion
- object
Value members
Methods
Creates a chunk backed by a mutable buffer. The underlying buffer must not be modified after
it is passed to this function.
it is passed to this function.
Concatenates the specified sequence of chunks in to a single chunk, avoiding boxing.
The
otherwise an exception may be thrown.
The
totalSize
parameter must be equal to the sum of the size of each chunk orotherwise an exception may be thrown.