0
votes
Vote UpVote

String compression/decompression routines using Delphi

Yanniel's notes – I wrote the following two functions (in bold) with the purpose of compressing/decompressing string values within a Delphi application: .........................implementationuses  ZLib;function ZCompressString(aText: string; aCompressionLevel: TZCompressionLevel): string;var  strInput,  strOutput: TStringStream;  Zipper: TZCompressionStream;begin  Result:= '';   strInput:= TStringStream.Create(aText);  strOutput:= TStringStream.Create;  try    Zipper:= TZCompressionStream.Create(strOutput, aCompressionLevel);    ...
Favorite? Off-Topic? Yanniel @ 2011-07-20 14:00

Statistics

Visits: 321
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)