`if (crc.calcCRC(block) != readCRC(crc)) { throw new InvalidBlockException(); }` I think it's something wrong about the algorithm , it always throw the InvalidBlockException. Could anybody fix it?
if (crc.calcCRC(block) != readCRC(crc)) { throw new InvalidBlockException(); }I think it's something wrong about the algorithm , it always throw the InvalidBlockException.
Could anybody fix it?