CRC32 C或C ++实现 [英] CRC32 C or C++ implementation

查看:346
本文介绍了CRC32 C或C ++实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在寻找CRC32的C或C实现++中明确许可为免除或公共领域。这里的执行 似乎不错,但它说,有关牌照的唯一的事情就是源code,这是不够好。我倒是preFER非LGPL,所以我没有与一个DLL鬼混(我的应用程序是封闭源代码)。我看到的zlib的实施的Adler32,但我检查的数据,这阿德勒不利于小块。

I'm looking for an implementation of CRC32 in C or C++ that is explicitly licensed as being free or public domain. The implementation here seems nice, but the only thing it says about the license is "source code", which isn't good enough. I'd prefer non LGPL so I don't have to fool around with a DLL (my app is closed source). I saw the adler32 implementation in zlib, but I'm checking small chunks of data, which adler is not good for.

推荐答案

使用 Boost C ++库。有一个 CRC 包括那里的的许可是不错的。

Use the Boost C++ libraries. There is a CRC included there and the license is good.

这篇关于CRC32 C或C ++实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆