@Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        final UID uid = (UID) o;
        return Objects.equals(byteBuffer, uid.byteBuffer);
    }
@return The length of the UID itself, rather than the backing array which may be longer
stroom-pipeline/src/main/java/stroom/pipeline/refdata/store/offheapstore/UID.java