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
CRC16.h
Go to the documentation of this file.
1 #ifndef CRC16T_H
2 #define CRC16T_H
3 #include <sys/types.h>
4 #include <CRC.h>
5 class CRC16: public CRCInterface<u_int16_t>
6 {
7 public:
8  CRC16(){}
9  ~CRC16(){}
10  u_int16_t calc(const char *data, unsigned int size);
11 
12 private:
13  static u_int16_t crc_table[256];
14 };
15 #endif