memcachex v0.5.0 Memcache.Coder.ZIP View Source

Uses :zlib.zip/1 and :zlib.unzip/1 to compress and decompress value.

Link to this section 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.

Link to this section Functions

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

Callback implementation for Memcache.Coder.decode/2.

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

Callback implementation for Memcache.Coder.encode/2.