memcachex v0.4.1 Memcache.Coder.Erlang

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

Summary

Functions

Called after the value is loaded from the server. It can return any type

Called before the value is sent to the server. It should return iodata

Functions

decode(value, options)

Called after the value is loaded from the server. It can return any type.

Callback implementation for Memcache.Coder.decode/2.

encode(value, options)

Called before the value is sent to the server. It should return iodata.

Callback implementation for Memcache.Coder.encode/2.