DarnDmap.Decode (darn_dmap v0.1.0)

Copy Markdown

Utilities for decoding native DMAP values into Elixir representations.

Depending on the selected decode mode, records may be decoded into ordinary Elixir values, Nx.Tensor values, or left in their raw tagged representation. This module also performs a small amount of post-processing, such as constructing convenience timestamp fields when applicable.

Summary

Types

decode_mode()

@type decode_mode() :: :elixir | :nx | :raw

Functions

decode_records!(records, opts \\ [])