Packages

MPEG Transport Stream (TS) library. Deserializes packets and demuxes them (no serializer nor muxer).

Retired package: Renamed - Renamed to mpeg_ts

Current section

Files

Jump to
kim_mpeg_ts lib mpeg ts unmarshaler.ex
Raw

lib/mpeg/ts/unmarshaler.ex

defmodule MPEG.TS.Unmarshaler do
@type t :: module()
@type result_t :: struct() | map()
@callback unmarshal(bitstring(), boolean()) :: {:ok, result_t()} | {:error, any()}
@callback is_unmarshable?(bitstring(), boolean()) :: boolean()
end