Membrane.Payload.Behaviour behaviour (Membrane Core v0.7.0) View Source

Behaviour that should be implemented by every module that has Membrane.Payload protocol implementation.

Link to this section Summary

Callbacks

Creates an empty payload

Creates a new payload initialized with the given binary

Link to this section Callbacks

Specs

empty() :: Membrane.Payload.t()

Creates an empty payload

Specs

Creates a new payload initialized with the given binary