# `KiwiCodec.Wire.VarFloat`
[🔗](https://github.com/open-pencil/kiwi_codec/blob/v0.7.0/lib/kiwi_codec/wire/var_float.ex#L1)

Kiwi variable-length 32-bit float wire encoding.

Kiwi stores IEEE-754 single-precision floats with the exponent byte rotated to
the front so common small values can use a compact one-byte zero encoding.

# `value`

```elixir
@type value() :: float() | :infinity | :negative_infinity | :nan
```

# `decode`

```elixir
@spec decode(binary()) :: {value(), binary()}
```

# `encode`

```elixir
@spec encode(float() | integer() | :infinity | :negative_infinity | :nan) :: binary()
```

---

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