Tay.Event.Value (tay v0.7.0)

Copy Markdown View Source

Canonical inert Event v1 values. {:bytes, binary} is an internal tag-07 carrier, not a general tuple encoding; Event schemas restrict its placement. Measurement validates/budgets input before materializing output. Decoding detaches retained strings from their backing frame and consumes exactly once.

Summary

Functions

decode(bytes, limits \\ %{binary_bytes: 16_777_216, depth: 64, output_nodes: 100_000})

defaults()

encode(value, limits \\ %{binary_bytes: 16_777_216, depth: 64, output_nodes: 100_000}, max_bytes \\ 16_777_216)

limits?(x)

measure(value, limits \\ %{binary_bytes: 16_777_216, depth: 64, output_nodes: 100_000}, max_bytes \\ 16_777_216)