public UID cloneToBuffer(final ByteBuffer destByteBuffer) {
        destByteBuffer.put(byteBuffer);
        byteBuffer.rewind();
        destByteBuffer.flip();
        return new UID(destByteBuffer);
    }
Clone the contents of this into the passed buffer. destByteBuffer will be left ready for reading
stroom-pipeline/src/main/java/stroom/pipeline/refdata/store/offheapstore/UID.java