final class StreamEncoder[A] extends AnyRef
A streaming encoding process, represented as a Stream[Pure, A] => Pull[Pure, BitVector, Option[(Stream[Pure, A], StreamEncoder[A])]].
- Self Type
- StreamEncoder[A]
- Source
- StreamEncoder.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- StreamEncoder
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- 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.
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def encode[F[_]](in: Stream[F, A])(implicit arg0: RaiseThrowable[F]): Stream[F, BitVector]
Encodes the supplied stream of
Avalues in to a stream ofBitVector. - def encodeAllValid(in: Seq[A]): BitVector
Encode the given sequence of
Avalues to aBitVector, raising an exception in the event of an encoding error. - final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def repeat: StreamEncoder[A]
Encodes values as long as there are more inputs.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toPipe[F[_]](implicit arg0: RaiseThrowable[F]): Pipe[F, A, BitVector]
Converts this encoder to a
Pipe[F, A, BitVector]. - def toPipeByte[F[_]](implicit arg0: RaiseThrowable[F]): Pipe[F, A, Byte]
Converts this encoder to a
Pipe[F, A, Byte]. - def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def xmapc[B](f: (A) => B)(g: (B) => A): StreamEncoder[B]
Transform the input type of this
StreamEncoder.