public boolean decodeBoolean(byte[] in) {
    assert in.length == 1 : "Wrong length for a boolean";
    return in[0] == 1;
  }
Transcoder that provides compatibility with Greg Whalin's memcached client.
src/main/java/net/spy/memcached/transcoders/WhalinTranscoder.java