static void serialize(UUID uuid, ByteBuffer buf) {
      buf.putLong(uuid.getMostSignificantBits());
      buf.putLong(uuid.getLeastSignificantBits());
    }
Write a compact representation of a {@link UUID} into a {@link ByteBuffer}. This will advance the buffer cursor.
@param uuid the {@link UUID} to serialize.
@param buf the {@link ByteBuffer} to write into.
ambry-commons/src/main/java/com/github/ambry/commons/BlobId.java