A bounded message grammar distinct from Port iodata measures.
Reified terms are {:atom, string}, {:integer, integer}, {:binary, binary},
{:ref | :pid, natural}, :nil, {:cons, head, tail}, and tuples with the
tags :tuple2, :tuple3, :tuple5. References/PIDs are abstract identities,
not actual runtime values or evidence of freshness. Atoms are opaque symbols.
Measures count tree nodes, total binary bytes and maximum integer magnitude
bits independently; they do not describe ERTS representation or encoded size.
Summary
Functions
Reifies supported actual data, rejecting actual references/PIDs and unsupported types.
Types
@type t() :: nil | tuple()
Functions
Reifies supported actual data, rejecting actual references/PIDs and unsupported types.
@spec measure(term()) :: {:ok, ReductionBounds.RpcTerm.Size.t()} | {:error, term()}
@spec within?(ReductionBounds.RpcTerm.Size.t(), ReductionBounds.RpcTerm.Size.t()) :: boolean()