http://zlibnet.codeplex.com/releases/view/629717
using ZLibNet;
string str = "ccc"; byte [] bytes = System.Text.Encoding.UTF8.GetBytes(str); byte[] bytesCompress = ZLibNet.ZLibCompressor.Compress(bytes); byte[] bytesDecompress = ZLibNet.ZLibCompressor.DeCompress(bytesCompress); string strDecompress = System.Text.Encoding.UTF8.GetString(bytesDecompress); Console.WriteLine(strDecompress);