harald v0.1.1 Harald.Serializable behaviour View Source

Serializable behaviour.

Link to this section Summary

Link to this section Callbacks

Link to this callback

deserialize(binary) View Source
deserialize(binary()) :: {:ok, term()} | {:error, term()}

Link to this callback

serialize(term) View Source
serialize(term()) :: {:ok, binary()} | {:error, term()}