Clean up Image class.
This commit is contained in:
parent
4bb87de0e6
commit
0d3674faac
30 changed files with 330 additions and 135 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
#include "AbstractChecksumCalculator.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
class CyclicRedundancyChecker : public AbstractChecksumCalculator
|
||||
{
|
||||
public:
|
||||
|
@ -16,5 +18,7 @@ private:
|
|||
bool mTableComputed{false};
|
||||
|
||||
uint32_t mLastValue{0xffffffffL};
|
||||
unsigned long mTable[256];
|
||||
|
||||
static const std::size_t TABLE_SIZE{ 256 };
|
||||
std::vector<unsigned long> mTable;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue