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

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