ZIP解压缩
更多...
#include <compress.hpp>
|
| Unzip () |
|
| Unzip (String const &filename, char const *password=NULL) |
|
| Unzip (void *zipbuf, uint32 size, char const *password=NULL) |
|
| ~Unzip () |
|
bool | open (String const &filename, char const *password=NULL) |
|
bool | open (void *zipbuf, uint32 size, char const *password=NULL) |
|
ZRESULT | close () |
|
int | getEntriesCount () const |
|
ZRESULT | getEntry (int index, ZipEntry *entry) |
|
ZRESULT | findEntry (String const &name, bool caseInsensitive, int *index, ZipEntry *entry) |
|
ZRESULT | unzipEntry (int index, String const &outFilename) |
|
ZRESULT | unzipEntry (int index, void *buf, uint32 size) |
|
void | unzipAll (String const &dirPath="") |
|
ZRESULT | setUnzipBaseDir (String const &dirPath) |
|
ZIP解压缩
在文件 compress.hpp 第 72 行定义.
winux::Unzip::Unzip |
( |
String const & |
filename, |
|
|
char const * |
password = NULL |
|
) |
| |
winux::Unzip::Unzip |
( |
void * |
zipbuf, |
|
|
uint32 |
size, |
|
|
char const * |
password = NULL |
|
) |
| |
ZRESULT winux::Unzip::findEntry |
( |
String const & |
name, |
|
|
bool |
caseInsensitive, |
|
|
int * |
index, |
|
|
ZipEntry * |
entry |
|
) |
| |
int winux::Unzip::getEntriesCount |
( |
| ) |
const |
bool winux::Unzip::open |
( |
String const & |
filename, |
|
|
char const * |
password = NULL |
|
) |
| |
bool winux::Unzip::open |
( |
void * |
zipbuf, |
|
|
uint32 |
size, |
|
|
char const * |
password = NULL |
|
) |
| |
void winux::Unzip::unzipAll |
( |
String const & |
dirPath = "" | ) |
|
ZRESULT winux::Unzip::unzipEntry |
( |
int |
index, |
|
|
String const & |
outFilename |
|
) |
| |
ZRESULT winux::Unzip::unzipEntry |
( |
int |
index, |
|
|
void * |
buf, |
|
|
uint32 |
size |
|
) |
| |
该类的文档由以下文件生成: