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