View Source Kvasir.Command.Encoder (kvasir_agent v0.0.17)

Link to this section Summary

Link to this section Functions

Link to this function

decode(data, opts \\ [])

View Source
Link to this function

decode(command, payload, meta)

View Source
Link to this function

encode(command, opts \\ [])

View Source
Link to this function

pack(command, opts \\ [])

View Source

Specs

pack(Kvasir.Command.t(), Keyword.t()) :: {:ok, binary()}

Specs

unpack(binary()) :: {:ok, Kvasir.Command.t()} | {:error, atom()}