摘要: #include #include typedef char Int8;typedef unsigned char Uint8;typedef unsigned short Uint16;typedef short Int16;typedef unsigned... 阅读全文
posted @ 2014-07-14 22:31 海阔天空84 阅读(533) 评论(0) 推荐(0) 编辑
摘要: 提供了三种实现方法。方法一:按位计算CRC32校验码。方法二:使用非翻转的查找表进行快速计算,按字节计算CRC32校验码。但计算过程中有位翻转操作,计算速度慢。方法三:使用翻转的查找表进行快速计算,按字节计算CRC校验码。速度极快。[cpp]view plaincopy#include#includ... 阅读全文
posted @ 2014-07-14 22:26 海阔天空84 阅读(3397) 评论(0) 推荐(0) 编辑