Trait

scodec.codecs

MultiplexedCodec

Related Doc: package codecs

Permalink

sealed trait MultiplexedCodec extends AnyRef

A trait that enables custom handling for encoding/decoding sequences.

Source
MultiplexedCodec.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MultiplexedCodec
  2. AnyRef
  3. Any
Implicitly
  1. by ValueEnrichedWithTuplingSupport
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from MultiplexedCodec to any2stringadd[MultiplexedCodec] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (MultiplexedCodec, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from MultiplexedCodec to ArrowAssoc[MultiplexedCodec] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. val a: MultiplexedCodec

    Permalink
    Implicit information
    This member is added by an implicit conversion from MultiplexedCodec to ValueEnrichedWithTuplingSupport[MultiplexedCodec] performed by method ValueEnrichedWithTuplingSupport in scodec.codecs.
    Definition Classes
    ValueEnrichedWithTuplingSupport
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def decode[F[_], A](dec: Decoder[A], deMux: (BitVector) ⇒ (BitVector, BitVector))(buffer: BitVector)(implicit cbf: Factory[A, F[A]]): Attempt[DecodeResult[F[A]]]

    Permalink

    Repeatedly decodes values of type A and returns a collection of the specified type.

    Repeatedly decodes values of type A and returns a collection of the specified type. Uses deMux repeatedly to obtain the stream of vectors to decode to a value of type A. Terminates when the next stream to decode is empty or upon first decoding error.

    Note: For large sequences, it may be necessary to compact bits in deMux.

    dec

    element decoder

    deMux

    returns (next, rest) tuples where next is input to dec yielding (value, remainder) and remainder ++ rest is the next input to deMux

    buffer

    input bits

  10. final def encode[A](enc: Encoder[A], mux: (BitVector, BitVector) ⇒ BitVector)(seq: Seq[A]): Attempt[BitVector]

    Permalink

    Encodes all elements of the specified sequence and combines the results using mux, or returns the first encountered error.

    Encodes all elements of the specified sequence and combines the results using mux, or returns the first encountered error.

    enc

    element encoder

    mux

    multiplexing function

    seq

    elements to encode

  11. def ensuring(cond: (MultiplexedCodec) ⇒ Boolean, msg: ⇒ Any): MultiplexedCodec

    Permalink
    Implicit information
    This member is added by an implicit conversion from MultiplexedCodec to Ensuring[MultiplexedCodec] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (MultiplexedCodec) ⇒ Boolean): MultiplexedCodec

    Permalink
    Implicit information
    This member is added by an implicit conversion from MultiplexedCodec to Ensuring[MultiplexedCodec] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): MultiplexedCodec

    Permalink
    Implicit information
    This member is added by an implicit conversion from MultiplexedCodec to Ensuring[MultiplexedCodec] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): MultiplexedCodec

    Permalink
    Implicit information
    This member is added by an implicit conversion from MultiplexedCodec to Ensuring[MultiplexedCodec] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from MultiplexedCodec to StringFormat[MultiplexedCodec] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  19. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. def sizeBound: SizeBound

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

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def ~[B](b: B): (MultiplexedCodec, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from MultiplexedCodec to ValueEnrichedWithTuplingSupport[MultiplexedCodec] performed by method ValueEnrichedWithTuplingSupport in scodec.codecs.
    Definition Classes
    ValueEnrichedWithTuplingSupport
  32. def [B](y: B): (MultiplexedCodec, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from MultiplexedCodec to ArrowAssoc[MultiplexedCodec] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion ValueEnrichedWithTuplingSupport from MultiplexedCodec to ValueEnrichedWithTuplingSupport[MultiplexedCodec]

Inherited by implicit conversion any2stringadd from MultiplexedCodec to any2stringadd[MultiplexedCodec]

Inherited by implicit conversion StringFormat from MultiplexedCodec to StringFormat[MultiplexedCodec]

Inherited by implicit conversion Ensuring from MultiplexedCodec to Ensuring[MultiplexedCodec]

Inherited by implicit conversion ArrowAssoc from MultiplexedCodec to ArrowAssoc[MultiplexedCodec]

Ungrouped