public static UID of(final ByteBuffer byteBuffer, final int... byteValues) {
        Preconditions.checkArgument(byteValues.length == UID_ARRAY_LENGTH);
        for (int i = 0; i < UID_ARRAY_LENGTH; i++) {
            byte b = (byte) byteValues[i];
            byteBuffer.put(b);
        }
        byteBuffer.flip();
        return new UID(byteBuffer);
    }
For use in testing only, e.g. <pre>UID uid = UID.of(0, 0, 1, 0);</pre>
stroom-pipeline/src/main/java/stroom/pipeline/refdata/store/offheapstore/UID.java