docs: @Override
    public void writePage(int pageID, P page) {
      if (page.isDirty()) {
        try {
          countWrite();
          byte[] array = pageToByteArray(page);
          file.getRecordBuffer(pageID).put(array);
          page.setDirty(false);
        } catch (IOException e) {
          throw new RuntimeException(e);
        }
      }
    }