lient encoding when sending commands to
  a Redis or RESP-compatible server.</p>

<h3 class="function"><a name="decode-1">decode/1</a></h3>
<div class="spec">
<p><tt>decode(Bin::binary()) -&gt; Decoded | Error</tt>
<ul class="definitions"><li><tt>Decoded = {ok, Term, Rest::binary()}</tt></li><li><tt>Term = [Term] | binary() | integer() | nil | ok | {error, binary()}</tt></li><li><tt>Error = {error, eof | {bad_resp, [integer | simple_string | bulk_string | array | error | unknown]}}</tt></li></ul></p>
</div>