equality, hashcode implemented for ByteBufs