public static UID of(final long value, final ByteBuffer byteBuffer) {
        UID.writeUid(value, byteBuffer);
        return UID.wrap(byteBuffer);
    }
Writes the value to the passed buffer and wraps it with a UID.
stroom-pipeline/src/main/java/stroom/pipeline/refdata/store/offheapstore/UID.java