String Compression Question

David Faure faure at
Fri Aug 20 13:20:24 BST 2004

On Thursday 19 August 2004 13:39, Sheraz wrote:
> Hi
> My objective is to make a function that will take
> larger string and outputs a compact using
> any compression Algo..
> Do we have any library or Algo to achieve this ?
> I don't want file compression i need to perform
> compression/decompression over a string 

Fo gzip o bzip2 compression, use KFilterDev over a QBuffer 
(which is a QIODevice working on an output QString) and write
your input QString into it.

David Faure, faure at, sponsored by Trolltech to work on KDE,
Konqueror (, and KOffice (

More information about the kde-core-devel mailing list