View Source MPEG.TS.Unmarshaler behaviour (MPEG.TS v2.0.0)

Summary

Types

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

Callbacks

Link to this callback

is_unmarshable?(bitstring, boolean)

View Source
@callback is_unmarshable?(bitstring(), boolean()) :: boolean()
Link to this callback

unmarshal(bitstring, boolean)

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