11 lines
249 B
C
11 lines
249 B
C
#ifndef CRC_H
|
||
#define CRC_H
|
||
|
||
#include <QByteArray>
|
||
|
||
// 直接计算反射型CRC16-CCITT,输出低字节在前的QByteArray
|
||
QByteArray crc16Reverse(const QByteArray& data);
|
||
// void generate_crc16_reverse_table(quint16 table[256]);
|
||
|
||
#endif // CRC_H
|