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

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

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

Creates an empty payload

@callback new(binary()) :: Membrane.Payload.t()

Creates a new payload initialized with the given binary