public List<ByteBuffer> read(StatisticsFile statisticsFile, String type) {
      try (PuffinReader puffin =
          Puffin.read(table.io().newInputFile(statisticsFile.path())).build()) {
        FileMetadata fileMetadata = puffin.fileMetadata();
        List<BlobMetadata> blobs =
            fileMetadata.blobs().stream()
                .filter(b -> type.equals(b.type()))
                .collect(Collectors.toList());
        return Lists.newArrayList(Iterables.transform(puffin.readAll(blobs), Pair::second));
      } catch (IOException e) {
        throw new UncheckedIOException(e);
      }
    }
Util class for write and read Iceberg statistics file {@link StatisticsFile}.
amoro-format-iceberg/src/main/java/org/apache/amoro/utils/StatisticsFileUtil.java