system.ZLib

http://docwiki.embarcadero.com/CodeExamples/Berlin/en/ZLibCompressDecompress_(Delphi)

还不如万老师的例子正确,官方的例子是

http://www.cnblogs.com/del/archive/2008/01/01/1022539.html

System.ZLib.TZCompressionStream

System.ZLib.TZDecompressionStream

http://docwiki.embarcadero.com/Libraries/Berlin/en/System.ZLib.TZCompressionStream

c++builder 自带压缩功能

#include "System.ZLib.hpp"

 System::Zlib::ZCompressStr("aa",TZCompressionLevel::)

压缩字符串,压缩流

ZCompressStream

对应的解密字符串、解密流

ZDecompressStr

ZDecompressStr

TZCompressionLevel : unsigned char { zcNone, zcFastest, zcDefault, zcMax };

 

// CG: Add alias of classname to old Zlib classname
  TCompressionStream = TZCompressionStream; //这俩是一回事。

posted on 2015-07-28 22:49  lypzxy  阅读(1535)  评论(0编辑  收藏  举报