docs: public void closeEntry() throws IOException {
          if (this.assemLen > 0) {
              for (int i = this.assemLen; i < this.assemBuf.length; ++i) {
                  this.assemBuf[i] = 0;
              }
  
              this.buffer.writeRecord(this.assemBuf);
  
              this.currBytes += this.assemLen;
              this.assemLen = 0;
          }
  
          if (this.currBytes < this.currSize) {
              throw new IOException("entry '" + currName + "' closed at '"
                                    + this.currBytes
                                    + "' before the '" + this.currSize
                                    + "' bytes specified in the header were written");
          }
      }