|
EpcTools
An event based multi-threaded C++ development framework.
|
#include <ebzip2.h>
Public Member Functions | |
| EBzip2 () | |
| Class constructor. More... | |
| ~EBzip2 () | |
| Class destructor. More... | |
| EString & | setFileName (cpStr filename) |
| Sets the file name that to be operated on. More... | |
| EString & | getFileName () |
| Gets the file name that to be operated on. More... | |
| cChar | setTerminator (cChar c) |
| Sets the line terminator used by readLine(). More... | |
| cChar | getTerminator () |
| Gets the line terminator used by readLine(). More... | |
| Int | getLastError () |
| Gets the last error value that occurred. More... | |
| ULongLong | getBytesIn () |
| The number of uncompressed bytes associated with the file written. More... | |
| ULongLong | getBytesOut () |
| The number of compressed bytes associated with the file written. More... | |
| Bool | isOpen () |
| True - the file is open, False - the file is closed. More... | |
| Void | readOpen (cpStr filename) |
| Open the file for reading. More... | |
| Void | writeOpen (cpStr filename) |
| Open the file for writing. More... | |
| Void | close () |
| Close the file. More... | |
| Int | read (pUChar pbuf, Int length) |
| Read a specified number of decompressed bytes. More... | |
| Int | readLine (pStr pbuf, Int length) |
| Read a decompressed line terminated by the supplied terminator. More... | |
| Int | write (pUChar pbuf, Int length) |
| Write the specified number of decompressed bytes. More... | |
Static Public Member Functions | |
| static cpStr | getErrorDesc (Int e) |
| Gets the description of the specified error value. More... | |
| EBzip2::EBzip2 | ( | ) |
Class constructor.
| EBzip2::~EBzip2 | ( | ) |
Class destructor.
| void EBzip2::close | ( | ) |
Close the file.
|
inline |
The number of uncompressed bytes associated with the file written.
|
inline |
The number of compressed bytes associated with the file written.
|
static |
Gets the description of the specified error value.
|
inline |
Gets the file name that to be operated on.
|
inline |
Gets the last error value that occurred.
|
inline |
Gets the line terminator used by readLine().
|
inline |
True - the file is open, False - the file is closed.
| Int EBzip2::read | ( | pUChar | pbuf, |
| Int | length | ||
| ) |
Read a specified number of decompressed bytes.
| Int EBzip2::readLine | ( | pStr | pbuf, |
| Int | length | ||
| ) |
Read a decompressed line terminated by the supplied terminator.
| Void EBzip2::readOpen | ( | cpStr | filename | ) |
Open the file for reading.
|
inline |
Sets the file name that to be operated on.
|
inline |
Sets the line terminator used by readLine().
| Int EBzip2::write | ( | pUChar | pbuf, |
| Int | length | ||
| ) |
Write the specified number of decompressed bytes.
| Void EBzip2::writeOpen | ( | cpStr | filename | ) |
Open the file for writing.
1.8.11