whyclwt
2022-05-18 ab72c6e114d7c4e83564194367ba623ca23bf09d
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef CRC16_H
#define CRC16_H
 
class CRC16
{
public:
    CRC16();
    static unsigned short CalCRC16(const void *data, const int count);
    static unsigned short CalModbusCRC16(void *puchMsg, const unsigned short usDataLen);
};
 
#endif // CRC16_H