code: protected static byte[] uuidToLittleEndianBytes(UUID uuid) {
  		long msb = uuid.getMostSignificantBits();
  		long lsb = uuid.getLeastSignificantBits();
  		byte[] buffer = new byte[16];
  
  		for (int i = 0; i < 8; i++) {
  			buffer[i] = (byte) (msb >>> 8 * i);
  		}
  		for (int i = 8; i < 16; i++) {
  			buffer[i] = (byte) (lsb >>> 8 * (i - 16));
  		}
  
  		return buffer;
  	}
docs: Utility routine for converting UUIDs to bytes in little endian format.
  @param uuid The UUID to convert
  @return a byte array representing the UUID in little endian format