WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Attributes | List of all members
WXP::BZlib Class Reference

This class manages bzip2 decompression. More...

#include "../include/BZlib.h"

Public Types

enum  { COMP , DECOMP }
 

Public Member Functions

 BZlib ()
 
 BZlib (int rtype)
 
int init ()
 
int setIn (unsigned char *next_in, int avail_in)
 
int setOut (unsigned char *next_out, int avail_out)
 
int decomp ()
 
int decomp (Buffer &in, Buffer &out)
 
int comp (int flag)
 
int finish ()
 
int print ()
 
int getStatus ()
 
int getAvailIn ()
 
int getAvailOut ()
 
int getTotalOut ()
 
bool isError ()
 

Static Public Attributes

static int const STREAM_END = BZ_STREAM_END
 
static int const OK = BZ_OK
 

Detailed Description

This class manages bzip2 decompression.

Author
Dan Vietor

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
COMP 

Compress mode

DECOMP 

Decompress mode

Constructor & Destructor Documentation

◆ BZlib()

BZlib::BZlib ( )

Constructor. Initializes class values

References DECOMP, and init().

Member Function Documentation

◆ init()

int BZlib::init ( )

Initializes the class

References DECOMP.

Referenced by BZlib(), and WXP::NidsFile::readBytes().


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