Uses :erlang.term_to_binary/2 and :erlang.binary_to_term/1 to encode and decode value.
:erlang.term_to_binary/2
:erlang.binary_to_term/1