src/network/crc32.h

00001 #ifndef CRC32_H_
00002 #define CRC32_H_
00003 
00004 class CRC32
00005 {
00006 public:
00007         CRC32();
00008         void Init(unsigned long pol = 0x00000000);
00009         unsigned long GetCRC(char *rawData, int len);
00010         
00011 protected:
00012         unsigned long Reflect(unsigned long r, char c);
00013         
00014 private:
00015         unsigned long crc32Table[256];
00016 };
00017 
00018 #endif /*CRC32_H_*/

Generated on Mon Dec 3 04:30:13 2007 for lo-testserver by  doxygen 1.3.9.1