ExIEC61850.Common.Conversions (ex_iec61850 v0.1.0)

Copy Markdown View Source

Binary and integer conversion helpers for IEC 61850 data types.

Summary

Functions

bytes_to_hex(bin)

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

hex_to_bytes(hex)

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