Implementation of CRC16 using polynomial 0x8005 - (X^16 X^15 X^2 1)
Fork of CRC16 by
CRC16.h
- Committer:
- EmLa
- Date:
- 2014-02-12
- Revision:
- 0:585ead300cab
- Child:
- 1:88c965afbea6
File content as of revision 0:585ead300cab:
#ifndef CRC16_H #define CRC16_H class CRC16 { private: const unsigned int SHIFTER = 0x00FF; unsigned short crc16table[256]; public: unsigned short calculateCRC16(char input[], int lenght); CRC16(); ~CRC16(); }; #endif