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);

 

相关文章:

  • 2022-01-16
  • 2022-12-23
  • 2022-12-23
  • 2021-05-21
  • 2021-08-07
  • 2022-12-23
  • 2021-10-19
  • 2021-11-11
猜你喜欢
  • 2021-09-04
  • 2022-12-23
  • 2021-09-08
  • 2021-08-20
  • 2021-08-07
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案