docs: public static Catalog read(final DataInput pDataInput) throws IOException {
          CatalogHeader header = CatalogHeader.read(pDataInput);
  
          CatalogItem[] items = new CatalogItem[header.getThumbnailCount()];
          for (int i = 0; i < header.getThumbnailCount(); i++) {
              CatalogItem item = CatalogItem.read(pDataInput);
              //System.out.println("item: " + item);
              items[item.getItemId() - 1] = item;
          }
  
          return new Catalog(header, items);
      }