摘要: View Code publicenum CRC8_POLY { CRC8 =0xd5, CRC8_CCIIT =0x07, CRC8_DALLAS_MAXIM =0x31, CRC8_SAE_J1850 =0x1d, CRC_8_WCDMA =0x9b, }; publicclass CRC8Calc { privatebyte[] table =newbyte[256]; publicbyte Checksum(paramsbyte[] val) { ... 阅读全文
posted @ 2011-09-08 12:58 Samguist 阅读(11233) 评论(0) 推荐(0) 编辑