Class

scodec.protocols.mpeg.transport.Demultiplexer

DecodeBody

Related Doc: package Demultiplexer

Permalink

case class DecodeBody[A](neededBits: Option[Long], decoder: Decoder[A]) extends Product with Serializable

Indication that a header was decoded successfully and there was enough information on how to decode the body of the message.

Upon receiving a result of this type, the demultiplexer will accumulate the number of bits specified by neededBits if that value is defined. If neededBits is undefined, the demultiplexer will accumulate all payload bits until the start of the next message (as indicated by the payload unit start indicator). When accumulation has completed, the specified decoder will be invoked to decode a message.

Source
Demultiplexer.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DecodeBody
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Implicitly
  1. by TransformSyntax
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DecodeBody(neededBits: Option[Long], decoder: Decoder[A])

    Permalink

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 DecodeBody[A] to any2stringadd[DecodeBody[A]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (DecodeBody[A], B)

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

    Permalink
    Definition Classes
    AnyRef → Any
  6. def as[B](implicit as: Transformer[A, B]): DecodeBody[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from DecodeBody[A] to TransformSyntax[DecodeBody, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[DecodeBody] is in scope.
    Definition Classes
    TransformSyntax
  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. val decoder: Decoder[A]

    Permalink
  10. def ensuring(cond: (DecodeBody[A]) ⇒ Boolean, msg: ⇒ Any): DecodeBody[A]

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  15. def exmap[B](f: (A) ⇒ Attempt[B], g: (B) ⇒ Attempt[A]): DecodeBody[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from DecodeBody[A] to TransformSyntax[DecodeBody, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[DecodeBody] is in scope.
    Definition Classes
    TransformSyntax
  16. def exmapc[B](f: (A) ⇒ Attempt[B])(g: (B) ⇒ Attempt[A]): DecodeBody[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from DecodeBody[A] to TransformSyntax[DecodeBody, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[DecodeBody] is in scope.
    Definition Classes
    TransformSyntax
  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 DecodeBody[A] to StringFormat[DecodeBody[A]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  19. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    Any
  21. def narrow[B](f: (A) ⇒ Attempt[B], g: (B) ⇒ A): DecodeBody[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from DecodeBody[A] to TransformSyntax[DecodeBody, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[DecodeBody] is in scope.
    Definition Classes
    TransformSyntax
  22. def narrowc[B](f: (A) ⇒ Attempt[B])(g: (B) ⇒ A): DecodeBody[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from DecodeBody[A] to TransformSyntax[DecodeBody, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[DecodeBody] is in scope.
    Definition Classes
    TransformSyntax
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. val neededBits: Option[Long]

    Permalink
  25. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  27. val self: DecodeBody[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from DecodeBody[A] to TransformSyntax[DecodeBody, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[DecodeBody] is in scope.
    Definition Classes
    TransformSyntax
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def widen[B](f: (A) ⇒ B, g: (B) ⇒ Attempt[A]): DecodeBody[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from DecodeBody[A] to TransformSyntax[DecodeBody, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[DecodeBody] is in scope.
    Definition Classes
    TransformSyntax
  33. def widenOpt[B](f: (A) ⇒ B, g: (B) ⇒ Option[A]): DecodeBody[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from DecodeBody[A] to TransformSyntax[DecodeBody, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[DecodeBody] is in scope.
    Definition Classes
    TransformSyntax
  34. def widenOptc[B](f: (A) ⇒ B)(g: (B) ⇒ Option[A]): DecodeBody[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from DecodeBody[A] to TransformSyntax[DecodeBody, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[DecodeBody] is in scope.
    Definition Classes
    TransformSyntax
  35. def widenc[B](f: (A) ⇒ B)(g: (B) ⇒ Attempt[A]): DecodeBody[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from DecodeBody[A] to TransformSyntax[DecodeBody, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[DecodeBody] is in scope.
    Definition Classes
    TransformSyntax
  36. def xmap[B](f: (A) ⇒ B, g: (B) ⇒ A): DecodeBody[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from DecodeBody[A] to TransformSyntax[DecodeBody, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[DecodeBody] is in scope.
    Definition Classes
    TransformSyntax
  37. def xmapc[B](f: (A) ⇒ B)(g: (B) ⇒ A): DecodeBody[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from DecodeBody[A] to TransformSyntax[DecodeBody, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[DecodeBody] is in scope.
    Definition Classes
    TransformSyntax
  38. def [B](y: B): (DecodeBody[A], B)

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

Deprecated Value Members

  1. def pxmap[B](f: (A) ⇒ B, g: (B) ⇒ Option[A]): DecodeBody[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from DecodeBody[A] to TransformSyntax[DecodeBody, A] performed by method TransformSyntax in scodec. This conversion will take place only if an implicit value of type Transform[DecodeBody] is in scope.
    Definition Classes
    TransformSyntax
    Annotations
    @deprecated
    Deprecated

    (Since version 1.7.0) Use widenOpt instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion TransformSyntax from DecodeBody[A] to TransformSyntax[DecodeBody, A]

Inherited by implicit conversion any2stringadd from DecodeBody[A] to any2stringadd[DecodeBody[A]]

Inherited by implicit conversion StringFormat from DecodeBody[A] to StringFormat[DecodeBody[A]]

Inherited by implicit conversion Ensuring from DecodeBody[A] to Ensuring[DecodeBody[A]]

Inherited by implicit conversion ArrowAssoc from DecodeBody[A] to ArrowAssoc[DecodeBody[A]]

Ungrouped