StreamEncoder

final class StreamEncoder[A]

A streaming encoding process, represented as a Stream[Pure, A] => Pull[Pure, BitVector, Option[(Stream[Pure, A], StreamEncoder[A])]].

A streaming encoding process, represented as a Stream[Pure, A] => Pull[Pure, BitVector, Option[(Stream[Pure, A], StreamEncoder[A])]].

Companion
object
class Object
trait Matchable
class Any

Value members

Concrete methods

def ++(that: => StreamEncoder[A]): StreamEncoder[A]

Creates a stream encoder that first encodes with this encoder and then when complete, encodes the remainder with the supplied encoder.

Creates a stream encoder that first encodes with this encoder and then when complete, encodes the remainder with the supplied encoder.

def encode[F[_]](in: Stream[F, A])(`evidence$3`: RaiseThrowable[F]): Stream[F, BitVector]

Encodes the supplied stream of A values in to a stream of BitVector.

Encodes the supplied stream of A values in to a stream of BitVector.

def encodeAllValid(in: Seq[A]): BitVector

Encode the given sequence of A values to a BitVector, raising an exception in the event of an encoding error.

Encode the given sequence of A values to a BitVector, raising an exception in the event of an encoding error.

Encodes values as long as there are more inputs.

Encodes values as long as there are more inputs.

def toPipe[F[_]](`evidence$1`: RaiseThrowable[F]): (F, A) => BitVector

Converts this encoder to a Pipe[F, A, BitVector].

Converts this encoder to a Pipe[F, A, BitVector].

def toPipeByte[F[_]](`evidence$2`: RaiseThrowable[F]): (F, A) => Byte

Converts this encoder to a Pipe[F, A, Byte].

Converts this encoder to a Pipe[F, A, Byte].

def xmapc[B](f: A => B)(g: B => A): StreamEncoder[B]

Transform the input type of this StreamEncoder.

Transform the input type of this StreamEncoder.