# hex

<a id="hex"></a>

# hex

Hexadecimal encoding and decoding helpers.

## Classes

| Name | Description |
|------|-------------|
| [`Decoder`](https://auscaster.com/icey/docs/api-reference/icy-hex-Decoder.md#decoder) | Hex decoder. |
| [`Encoder`](https://auscaster.com/icey/docs/api-reference/icy-hex-Encoder.md#encoder-1) | Hex encoder. |

## Functions

| Return | Name | Description |
|--------|------|-------------|
| `std::string` | [`encode`](#encode-14) `inline` | Converts the STL container to Hex. |

---

<a id="encode-14"></a>

### encode

`inline`

```cpp
template<typename T> inline std::string encode(const T & bytes)
```

[Defined in src/base/include/icy/hex.h:91](https://github.com/auscaster/icey/blob/main/src/base/include/icy/hex.h#L91)

Converts the STL container to Hex.
