Membrane.Buffer (Membrane Core v0.7.0) View Source

Structure representing a single chunk of data that flows between elements.

For now, it is just a wrapper around bitstring with optionally some metadata attached to it, but in future releases we plan to support different payload types.

Link to this section Summary

Link to this section Types

Specs

metadata_t() :: map()

Specs

t() :: %Membrane.Buffer{metadata: metadata_t(), payload: Membrane.Payload.t()}