MPEG.TS.Unmarshaler behaviour (MPEG.TS v2.2.0)

View Source

Summary

Types

result_t()

@type result_t() :: struct() | map()

t()

@type t() :: module()

Callbacks

is_unmarshable?(bitstring, boolean)

@callback is_unmarshable?(bitstring(), boolean()) :: boolean()

unmarshal(bitstring, boolean)

@callback unmarshal(bitstring(), boolean()) :: {:ok, result_t()} | {:error, any()}