# `ReductionBounds.RpcTerm`
[🔗](https://github.com/zacky1972/reduction_bounds/blob/v0.1.0/lib/reduction_bounds/rpc_term.ex#L1)

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.

# `t`

```elixir
@type t() :: nil | tuple()
```

# `from_term`

```elixir
@spec from_term(term()) :: {:ok, t()} | {:error, term()}
```

Reifies supported actual data, rejecting actual references/PIDs and unsupported types.

# `known?`

```elixir
@spec known?(term()) :: boolean()
```

# `measure`

```elixir
@spec measure(term()) :: {:ok, ReductionBounds.RpcTerm.Size.t()} | {:error, term()}
```

# `within?`

```elixir
@spec within?(ReductionBounds.RpcTerm.Size.t(), ReductionBounds.RpcTerm.Size.t()) ::
  boolean()
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
