memcachex v0.4.1 Memcache.Coder.ZIP

Uses :zlib.zip/1 and :zlib.unzip/1 to compress and decompress 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.