COMMON: Remove the need for most reflecting when initing reflected table

Instead reflect the polynomial and change the shifts. Also removes the
need for explicit init.

This makes our crc more similar to its standard implementation
This commit is contained in:
Vladimir Serbinenko 2022-11-27 17:38:05 +01:00 committed by Eugene Sandulenko
parent 35bac4e58c
commit 05f1a0df51
5 changed files with 49 additions and 51 deletions

View file

@ -1000,7 +1000,6 @@ public:
ZipArchive::ZipArchive(unzFile zipFile) : _zipFile(zipFile), _crc() {
assert(_zipFile);
_crc.init();
}
ZipArchive::~ZipArchive() {