Membrane Core v0.2.2 Membrane.Payload.Behaviour behaviour View Source
Behaviour that should be implemented by every module that has
Membrane.Payload
protocol implementation.
Link to this section Summary
Link to this section Callbacks
Link to this callback
empty()
View Source
empty()
View Source
empty() :: Membrane.Payload.t()
empty() :: Membrane.Payload.t()
Creates an empty payload
Link to this callback
new(binary)
View Source
new(binary)
View Source
new(binary()) :: Membrane.Payload.t()
new(binary()) :: Membrane.Payload.t()
Creates a new payload initialized with the given binary