code: public static UUID fromBytes(byte[] bytes) {
      long mostBits = ByteUtils.readLong(bytes, 0);
      long leastBits = 0;
      if (bytes.length > 8) {
        leastBits = ByteUtils.readLong(bytes, 8);
      }
      return new UUID(mostBits, leastBits);
    }
docs: Convert byte array into UUID. Byte array is a compact form of bits in UUID
  
  @param bytes Byte array to convert from
  @return UUID result