标签:auto details href 方法 校验 git tag string hex
CRC有非常多的模式,我没有全部都做,目前支持
auto data = QByteArray::fromHex( "01 02 03 04 05" );
auto crc16ForModbus = JQChecksum::crc16ForModbus( data );
auto crc16ForX25 = JQChecksum::crc16ForX25( data );
auto crc32 = JQChecksum::crc32( data );
qDebug() << "crc16ForModbus:" << crc16ForModbus << QString::number( crc16ForModbus, 16 );
qDebug() << "crc16ForX25:" << crc16ForX25 << QString::number( crc16ForX25, 16 );
qDebug() << "crc32:" << crc32 << QString::number( crc32, 16 );
https://github.com/188080501/JQChecksum
http://blog.csdn.net/wsj18808050/article/details/51907988
CRC的详细原理图:
http://www.cnblogs.com/esestt/archive/2007/08/09/848856.html
http://blog.csdn.net/liyuanbhu/article/details/7882789
标签:auto details href 方法 校验 git tag string hex
原文地址:http://www.cnblogs.com/findumars/p/6012373.html