stringencoders c-string转换工具集合开源项目

我要开发同款
匿名用户2012年11月07日
31阅读
开发技术C/C++
所属分类程序开发、常用工具包
授权协议BSD

作品详情

c-string转换工具集合,比标准实现快2倍以上(如果有的话)。——该项目被GoogleChrome使用。

包括以下C字符串转换工具

base64,standardbase64, web/urlsafe,withconfigurablealphabetbase85(goodforhttpcookies)base16(hex)base2(asciibinary)urlescapingjavascriptstringescapingfastnumbertostringconversion, 4-22xfaster thansprintf!fastasciiupper/lowercaseconversion, 2-66xfaster thanstdlib!(yes,66xfaster)Andit'sallwrappedupinabowforyoutouse:

BSDLicense--dowhatyouwantwithit.Standard clean ANSIC,willalsocompileasC99andC++C++wrappersfor std::stringStandardinstall: configure&&make&&makeinstallExtensiveunittestsprovided with>98%coverage.Endiansafe.Performancetestframework--don'ttakemyword,runityourselfLotsofin-code documentation注意事项Thiscodemightcompileonwindows.Itriedtoworkaroundthelackofstdintandstdbool,butIcan'ttestitout.Alsothiscodewon'tworkonSparcchips(Solaris)duetoalignmentissues.nothardtofix,butIdon'thaveaccesstosparcmachinesWorksgreatonMacandLinux.NoideaaboutiOSandARMchips.
声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论