Eyeon.BinaryDecoder (eyeon v0.3.2)

Copy Markdown View Source

Routes Ion binary decoding to the appropriate version-specific decoder.

Summary

Functions

Decode all values with conformance test options (mactab/symtab). Used by the conformance test runner to pre-load macro/symbol tables.

Functions

decode(data, catalog \\ Catalog.new([]), options \\ %{})

@spec decode(binary(), Eyeon.Catalog.t(), map()) :: {:ok, any()} | {:error, any()}

decode_all(data, catalog \\ Catalog.new([]), options \\ %{})

@spec decode_all(binary(), Eyeon.Catalog.t(), map()) ::
  {:ok, [any()]} | {:error, any()}

decode_all(arg, catalog, options, conformance_opts)

@spec decode_all(binary(), Eyeon.Catalog.t(), map(), keyword()) ::
  {:ok, [any()]} | {:error, any()}

Decode all values with conformance test options (mactab/symtab). Used by the conformance test runner to pre-load macro/symbol tables.