code: public void updateCRC() {
          this.crc32 = 0;
          CRC32 crcAlg = new CRC32();
          crcAlg.update(this.toByteArray());
  
          this.crc32 = (int) crcAlg.getValue();
      }
docs: Updates the CRC value.