protected int decodeInt(byte[] data, int i) {
    return (data[i] & 0xff) << 24
      | (data[i + 1] & 0xff) << 16
      | (data[i + 2] & 0xff) << 8
      | (data[i + 3] & 0xff);
  }
Creates a ByteBuffer representation of the message.

@return The ByteBuffer representation of the message.
src/main/java/net/spy/memcached/tapmessage/BaseMessage.java