摘要: typedef char int8_t;typedef short int16_t;typedef int int32_t;typedef unsigned char uint8_t;typedef unsigned short uint16_t;typedef unsigned int uint32_t;typedef char * pint8_t;typedef short * pint16_t;typedef int * pint32_t;typedef unsigned char * puint8_t;typedef unsigned short * puint16_t;typedef 阅读全文
posted @ 2013-01-23 20:42 朝雾之归乡 阅读(508) 评论(0) 推荐(0) 编辑
摘要: // 32 bit CRC 校验算法#define POLYNOMIAL 0xEDB88320static uint32_t crc32_table[256] ={ 0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA, 0x076DC419, 0x706AF48F, 0xE963A535, 0x9E6495A3, 0x0EDB8832, 0x79DCB8A4, 0xE0D5E91E, 0x97D2D988, 0x09B64C2B, 0x7EB17CBD, 0xE7B82D07, 0x90BF1D91, 0x1... 阅读全文
posted @ 2013-01-23 20:41 朝雾之归乡 阅读(745) 评论(0) 推荐(0) 编辑