View Source Macfly.CaveatSet (macfly v0.2.19)

Summary

Functions

Link to this function

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

View Source
Link to this function

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

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

Decode a message pack encoded set of caveats.

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

Encode a set of caveats to message pack.

Link to this function

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

View Source