code: void encode(ChannelBuffer buf) {
          buf.writeByte('*');
          writeInt(buf, 1 + (args != null ? args.count() : 0));
          buf.writeBytes(CRLF);
          buf.writeByte('$');
          writeInt(buf, type.bytes.length);
          buf.writeBytes(CRLF);
          buf.writeBytes(type.bytes);
          buf.writeBytes(CRLF);
          if (args != null) {
              buf.writeBytes(args.buffer());
          }
      }
docs: Encode and write this command to the supplied buffer using the new
  <a href="http://redis.io/topics/protocol">Unified Request Protocol</a>.
  
  @param buf Buffer to write to.