scodec.stream.encode

StreamEncoder

trait StreamEncoder[-A] extends AnyRef

A streaming encoding process, represented as a Process1[A,BitVector].

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StreamEncoder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def encoder: Process1[A, BitVector]

    The Process1 backing this StreamEncoder[A].

    The Process1 backing this StreamEncoder[A]. All functions on StreamEncoder are defined in terms of this Process1.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. def ++[A2 <: A](e: StreamEncoder[A2]): StreamEncoder[A2]

    Run this StreamEncoder, followed by e.

  4. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def chunk(bitsPerChunk: Long): StreamEncoder[A]

    Convert this StreamEncoder to output bits in the given chunk size.

    Convert this StreamEncoder to output bits in the given chunk size. Only the last chunk may have fewer than bitsPerChunk bits.

  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def contramap[A0](f0: (A0) ⇒ A): StreamEncoder[A0]

    Transform the input type of this StreamEncoder.

  9. final def contrapipe[A0](p: Process1[A0, A]): StreamEncoder[A0]

    Transform the input type of this StreamEncoder using the given transducer.

  10. final def edit[A2](f: (Process1[A, BitVector]) ⇒ Process1[A2, BitVector]): StreamEncoder[A2]

    Modify the Process1 backing this StreamEncoder.

  11. final def encode[F[_]](in: Process[F, A]): Process[F, BitVector]

    Encode the input stream of A values using this StreamEncoder.

  12. 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.

  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. def many: StreamEncoder[A]

    Encode values as long as there are more inputs.

  20. def mapBits(f: (BitVector) ⇒ BitVector): StreamEncoder[A]

    Transform the output BitVector values produced by this encoder.

  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. def pipeBits(f: Process1[BitVector, BitVector]): StreamEncoder[A]

    Statefully transform the output BitVector values produced by this encoder.

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def take(n: Int): StreamEncoder[A]

    Encode at most n values.

  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped