Current section

Files

Jump to
memcachex lib memcache coder raw.ex
Raw

lib/memcache/coder/raw.ex

defmodule Memcache.Coder.Raw do
@moduledoc """
Doesn't do any conversion. Stores the value as it is in the server.
"""
@behaviour Memcache.Coder
def encode(value, _options), do: value
def decode(value, _options), do: value
end