摘要: 异或校验是验证数据通信结果的一种常用手段,下面是一个异或校验的函数,输入需要校验的数据数组以及长度,返回异或校验的结果。 #include<stdio.h> typedef unsigned char uint8_t; uint8_t XOR_check(uint8_t *Buf, uint8_t 阅读全文
posted @ 2021-12-01 09:55 夜望繁星 阅读(3760) 评论(0) 推荐(0) 编辑