Macfly.CaveatSet (macfly v0.2.21)

Copy Markdown View Source

Summary

Functions

build_caveat(o \\ %Options{}, type, body)

decode(arg, o \\ %Options{})

@spec decode(binary(), Macfly.Options.t()) ::
  {:ok, [Macfly.Caveat.t()]} | {:error, any()}

Decode a message pack encoded set of caveats.

encode(cs)

@spec encode([Macfly.Caveat.t()]) :: binary()

Encode a set of caveats to message pack.

from_wire(wire_caveats, options \\ %Options{})

to_wire(list)