Hi coderz
i searched for a good QByteArray-extract-from-GZip-File solution and did not succeed.
So i decided to wrap some codez, and create a small interface.
If you are interested,Qt Code:
// sample usage void method() { QByteArray ar; // ar will be filled with extracted bytes int extractedBytes = GUnzipDevice::getBytes(&qfile, ar); ... }To copy to clipboard, switch view to plain text mode
you can download at http://genericengine.net/downloads/ (second section)
zip-archive has a README.txt and contains of small source, testfile names.txt.gz and windows and linux executeable.
It is very easy to embedd within Qt App Codez.
greetings and best codez!
cheers
zaphod
Bookmarks