如何在vc中计算crc16++
我正在使用视觉c++。我需要计算数据包数据的 crc16 16 位校验和。 他们是一个 getCRC32 函数,但我没有找到任何 crc16 位函数。
谢谢
I am using visual c++. I need to calculate crc16 16 bit checksum on packet data.
Their is one getCRC32 function but i did not found any crc16 bit function.
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
维基百科显示了 crc16 的几种不同变体 http://en.wikipedia.org/wiki/Cyclic_redundancy_check你有什么偏好吗?
Wikipedia shows several different variants of crc16 http://en.wikipedia.org/wiki/Cyclic_redundancy_check do you have a preference?
查看http://www.algorithm-code.com/wiki/CRC16_Algorithm
Check out http://www.algorithm-code.com/wiki/CRC16_Algorithm