字节压缩 [英] Compression of bytes
本文介绍了字节压缩的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,
我正在压缩一个很小的空间中的字符串,我有720个字节要存储10 K字符串字符.我想我需要成为一个巨人,能否请您提出一些压缩算法来完成我的任务.
问候
Hello,
I am in a fix of compressing the string in a tiny space I have 720 bytes where I want to store 10 K of string characters. I think I need to be a giant, Can you please suggest some compression algorithm to accomplish my task.
Regards
推荐答案
某种基于字典的压缩算法应该可以很好地工作.在Wikipedia上查看 上的无损压缩算法列表.
.Net还具有一些内置的压缩功能.相当确定这是在System.IO.Compression命名空间中.
Some sort of dictionary-based compression algorithm should work well. Check out a list of lossless compression algorithms on Wikipedia.
.Net also has some built-in compression abilities. Pretty sure that''s in the System.IO.Compression namespace.
这篇关于字节压缩的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文