DecodeBody

fs2.protocols.mpeg.transport.Demultiplexer$.DecodeBody
case class DecodeBody[A](neededBits: Option[Long], decoder: Decoder[A])

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.

Attributes

Source
Demultiplexer.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product