String Compression Question
David Faure
faure at kde.org
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 string....by 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 kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the kde-core-devel
mailing list