ff7tk  1.2.0.13
Work with Final Fantasy 7 game data
Public Types | Static Public Member Functions | List of all members
GZIP Class Reference

#include <GZIP.h>

Public Types

enum  Strategy {
  StrategyDefault, StrategyFiltered, StrategyHuffmanOnly, StrategyRle,
  StrategyFixed
}
 

Static Public Member Functions

static QByteArray decompress (const QByteArray &data, int decSize, Strategy strategy=StrategyDefault)
 
static QByteArray compress (const QByteArray &ungzip, int level=-1, Strategy strategy=StrategyDefault)
 
static QByteArray decompress (const char *data, int size, int decSize, Strategy strategy=StrategyDefault)
 
static QByteArray compress (const char *ungzip, int size, int level=-1, Strategy strategy=StrategyDefault)
 
static QByteArray decompress (const QString &path, int decSize, Strategy strategy=StrategyDefault)
 
static QByteArray decompressNoHeader (const char *data, int size)
 
static QByteArray compressNoHeader (const char *data, int size, int level=-1)
 
static ulong crc (const char *data, int size)
 

Member Enumeration Documentation

◆ Strategy

Enumerator
StrategyDefault 
StrategyFiltered 
StrategyHuffmanOnly 
StrategyRle 
StrategyFixed 

Member Function Documentation

◆ compress() [1/2]

QByteArray GZIP::compress ( const char *  ungzip,
int  size,
int  level = -1,
Strategy  strategy = StrategyDefault 
)
static

◆ compress() [2/2]

QByteArray GZIP::compress ( const QByteArray &  ungzip,
int  level = -1,
Strategy  strategy = StrategyDefault 
)
static

◆ compressNoHeader()

QByteArray GZIP::compressNoHeader ( const char *  data,
int  size,
int  level = -1 
)
static

◆ crc()

ulong GZIP::crc ( const char *  data,
int  size 
)
static

◆ decompress() [1/3]

QByteArray GZIP::decompress ( const char *  data,
int  size,
int  decSize,
Strategy  strategy = StrategyDefault 
)
static

◆ decompress() [2/3]

QByteArray GZIP::decompress ( const QByteArray &  data,
int  decSize,
Strategy  strategy = StrategyDefault 
)
static

◆ decompress() [3/3]

QByteArray GZIP::decompress ( const QString &  path,
int  decSize,
Strategy  strategy = StrategyDefault 
)
static

◆ decompressNoHeader()

QByteArray GZIP::decompressNoHeader ( const char *  data,
int  size 
)
static

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