会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
若是风轻
博客园
首页
新随笔
联系
订阅
管理
2013年8月2日
利用SharpZipLib对字符串进行压缩和解压缩
摘要: 添加对ICSharpCode.SharpZipLib的引用。using ICSharpCode.SharpZipLib.BZip2;/// /// 压缩 /// /// /// private static string Compress(string text) { if (text.IsNullOrEmpty()) { return string.Empty; } using (Me...
阅读全文
posted @ 2013-08-02 11:42 DCLancer
阅读(460)
评论(0)
推荐(0)
编辑
公告
(function() { var c = document.createElement('script'); c.type = 'text/javascript'; c.async = true; c.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'www.clicki.cn/boot/48212'; var h = document.getElementsByTagName('script')[0]; h.parentNode.insertBefore(c, h); })();