# `Membrane.Payload.Behaviour`
[🔗](https://github.com/membraneframework/membrane-core/blob/v1.2.6/lib/membrane/payload.ex#L9)

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

# `empty`

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

Creates an empty payload

# `new`

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

Creates a new payload initialized with the given binary

---

*Consult [api-reference.md](api-reference.md) for complete listing*
