# `ExIEC61850.Common.Conversions`
[🔗](https://github.com/Ultraluv/ex_iec61850/blob/v0.1.0/lib/ex_iec61850/common/conversions.ex#L1)

Binary and integer conversion helpers for IEC 61850 data types.

# `bytes_to_hex`

```elixir
@spec bytes_to_hex(binary()) :: String.t()
```

# `hex_to_bytes`

```elixir
@spec hex_to_bytes(String.t()) :: {:ok, binary()} | :error
```

---

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