使用 SharpZipLib 进行压缩的辅助类,简化压缩字节数组和字符串的操作。
using System;
using System.Text;
using System.IO;
using ICSharpCode.SharpZipLib.BZip2;
using ICSharpCode.SharpZipLib.GZip;
using ICSharpCode.SharpZipLib.Zip;

namespace Compression
}
来源:http://www.mostlylucid.co.uk/archive/2004/04/06/958.aspx