Classified ads
Public Member Functions | Static Public Member Functions | List of all members
UnGZip Class Reference

Class for un-zipping gzip'ed content. Supports also bzip2. More...

#include <ungzip.h>

Inheritance diagram for UnGZip:
Inheritance graph
[legend]
Collaboration diagram for UnGZip:
Collaboration graph
[legend]

Public Member Functions

 UnGZip ()
 
 ~UnGZip ()
 

Static Public Member Functions

static QByteArray unGZip (const QByteArray &aCompressedContent, bool *aResult)
 
static QByteArray unBZip2 (const QByteArray &aCompressedContent, bool *aResult)
 

Detailed Description

Class for un-zipping gzip'ed content. Supports also bzip2.

This class is wrapper around zlib/bzip2lib, it is used to de-compress contents previously compressed with gzip/bzip2.

Constructor & Destructor Documentation

◆ UnGZip()

UnGZip::UnGZip ( )

◆ ~UnGZip()

UnGZip::~UnGZip ( )

Member Function Documentation

◆ unBZip2()

static QByteArray UnGZip::unBZip2 ( const QByteArray &  aCompressedContent,
bool *  aResult 
)
static

Method for doing de-bzip2

Parameters
aCompressedContentcompressed content
aResultif not-null, will have its value set to true/false depending on success of de-compression
Returns
un-compressed content.

◆ unGZip()

static QByteArray UnGZip::unGZip ( const QByteArray &  aCompressedContent,
bool *  aResult 
)
static

Method for doing de-gzip

Parameters
aCompressedContentcompressed content
aResultif not-null, will have its value set to true/false depending on success of de-compression
Returns
un-compressed content.

The documentation for this class was generated from the following file: