Pico v0.1.2 Pico.Protocol.Decoder View Source

Decode Pico messages

Link to this section Summary

Functions

Given an encoded Pico message, decode it (using the associated key and iv, if encrypted)

Link to this section Types

Link to this type

message() View Source
message() :: {String.t(), map()}

Link to this section Functions

Link to this function

decode(msg, secret \\ nil, iv \\ nil) View Source
decode(binary(), binary(), binary()) :: message()

Given an encoded Pico message, decode it (using the associated key and iv, if encrypted)