Personal tools
You are here: Home Products and Services Qt Add-On Products Qt Solutions Catalog Qt 4 Utilities QtIOCompressor
Document Actions

QtIOCompressor

QtIOCompressor is a QIODevice that compresses data streams.

The class works on top of a QIODevice subclass, compressing data before it is written and decompressing it when it is read. Since QtIOCompressor works on streams, it does not have to see the entire data set before compressing or decompressing it. This can reduce the memory requirements when working on large data sets.

Required Libraries:

QtCore

Please refer to the Qt Editions Comparison Chart for which Qt products include these libraries.

Documentation:

Classes:

Tested on:

  • Qt 4.3, 4.4 / Windows XP, Vista / MSVC.NET 2005
  • Qt 4.3, 4.4 / Linux / gcc
  • Qt 4.3, 4.4 / MacOS X / gcc

Unsupported platforms:

Only the tested platforms are supported, however the classes should be platform independent and are likely to work on the platforms supported by Qt.

Download Commercial Edition:

Only available for Qt Solutions license holders with a valid Support and Maintenance agreement (authentication required).

Changes:

  • 2.2: Added support for the common compression format inside zip archives.
  • 2.2: Fixes: IOCompressor would fail after a 0-length write.
  • 2.1: Added support for gzip format streams.
  • 2.0: Initial version.
Copyright 2008, by the Contributing Authors. All Rights Reserved.
Trolltalk, an e-newsletter
Your mail address

 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: