Implemented hashCode on ByteArrayData