HCE project C++ developers source code library  1.1.1
HCE project developer library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
CRC32.h
Go to the documentation of this file.
1 #ifndef CRC32T_H
2 #define CRC32T_H
3 #include <sys/types.h>
4 #include <CRC.h>
5 class CRC32:public CRCInterface<u_int32_t>
6 {
7 public:
8  CRC32();
9  ~CRC32();
10  u_int32_t calc(const char *data, unsigned int size);
11 
12 private:
13  static u_int32_t crc_table[256];
14  static bool calculated;
15  void calcCrcTable();
16 };
17 #endif