- Companion
- class
Type members
Classlikes
- Companion
- object
- 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.
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.
This is similar to a queue of individual elements but chunk structure is maintained.
- Companion
- object
Inherited classlikes
Value members
Concrete methods
Creates a chunk backed by a mutable buffer. The underlying buffer must not be modified after it is passed to this function.
Creates a chunk backed by a mutable buffer. The underlying buffer must not be modified after it is passed to this function.
Creates a chunk backed by an byte buffer, bounded by the current position and limit
Creates a chunk backed by an byte buffer, bounded by the current position and limit
Creates a chunk backed by an char buffer, bounded by the current position and limit
Creates a chunk backed by an char buffer, bounded by the current position and limit
Concatenates the specified sequence of chunks in to a single chunk, avoiding boxing.
Concatenates the specified sequence of chunks in to a single chunk, avoiding boxing.
Concatenates the specified sequence of chunks in to a single chunk, avoiding boxing.
The totalSize
parameter must be equal to the sum of the size of each chunk or
otherwise an exception may be thrown.
Concatenates the specified sequence of chunks in to a single chunk, avoiding boxing.
The totalSize
parameter must be equal to the sum of the size of each chunk or
otherwise an exception may be thrown.
Creates a chunk consisting of the elements of queue
.
Creates a chunk consisting of the elements of queue
.
Creates a chunk consisting of the first n
elements of queue
and returns the remainder.
Creates a chunk consisting of the first n
elements of queue
and returns the remainder.
Inherited methods
Creates a chunk backed by an immutable ArraySeq
.
Creates a chunk backed by an immutable ArraySeq
.
- Inherited from
- ChunkCompanionPlatform
Creates a chunk backed by a slice of an immutable array.
Creates a chunk backed by a slice of an immutable array.
- Inherited from
- ChunkCompanionPlatform
Creates a chunk backed by an immutable array.
Creates a chunk backed by an immutable array.
- Inherited from
- ChunkCompanionPlatform