BytesBatch

final class BytesBatch(underlying: ArrayBatch[Byte]) extends Batch[Byte]

Batch implementation specialized for Byte.

Batch implementation specialized for Byte.

Under the hood it uses an ArrayBatch implementation, which is @specialized. Using BytesBatch might be desirable instead for isInstanceOf checks.

class Batch[Byte]
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

override def collect[B](pf: PartialFunction[Byte, B]): ArrayBatch[B]
Definition Classes
override def cursor(): BytesCursor
Definition Classes
override def drop(n: Int): BytesBatch
Definition Classes
override def filter(p: Byte => Boolean): BytesBatch
Definition Classes
override def foldLeft[R](initial: R)(op: (R, Byte) => R): R
Definition Classes
override def map[B](f: Byte => B): ArrayBatch[B]
Definition Classes
override def slice(from: Int, until: Int): BytesBatch
Definition Classes
override def take(n: Int): BytesBatch
Definition Classes

Inherited methods

def toArray[B >: Byte](`evidence$1`: ClassTag[B]): Array[B]

Converts this generator into a standard Array.

Converts this generator into a standard Array.

Inherited from
Batch
def toIterable: Iterable[Byte]

Converts this generator into a Scala Iterable.

Converts this generator into a Scala Iterable.

Inherited from
Batch
def toList: List[Byte]

Converts this generator into a Scala immutable List.

Converts this generator into a Scala immutable List.

Inherited from
Batch