@Override
    public int compareTo(@NotNull final UID other) {
        return UNSIGNED_BYTES.compare(
                this.byteBuffer,
                this.byteBuffer.position(),
                other.byteBuffer,
                other.byteBuffer.position());
    }
Write a UID for id into the passed buffer, flips the buffer
stroom-pipeline/src/main/java/stroom/pipeline/refdata/store/offheapstore/UID.java