public UID extractUid(final ByteBuffer byteBuffer) {
        return UIDSerde.extractUid(byteBuffer, UID_OFFSET);
    }
The returned UID is just a wrapper onto the passed {@link ByteBuffer}. If you need to use it outside
a txn/cursor then you will need to copy it.
stroom-pipeline/src/main/java/stroom/pipeline/refdata/store/offheapstore/serdes/RangeStoreKeySerde.java