摘要:
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) { ... 阅读全文