# `PB.UnknownField`
[🔗](https://github.com/hansihe/pb_ex/blob/v0.2.0/pb/lib/pb/unknown_field.ex#L1)

Preserved protobuf wire field that is not represented by the compiled schema.

`raw` contains the complete encoded field, including tag and value bytes.

# `t`

```elixir
@type t() :: %PB.UnknownField{number: pos_integer(), raw: binary(), wire_type: 0..5}
```

# `append`

```elixir
@spec append(map(), t()) :: map()
```

# `encode_all`

```elixir
@spec encode_all(term()) :: {:ok, [binary()]} | {:error, term()}
```

# `from_raw`

```elixir
@spec from_raw(pos_integer(), 0..5, binary()) :: t()
```

# `key`

```elixir
@spec key() :: :__unknown_fields__
```

# `new`

```elixir
@spec new(pos_integer(), 0..5, binary()) :: t()
```

# `reverse_all`

```elixir
@spec reverse_all(map()) :: map()
```

---

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