ZIP压缩
更多...
#include <compress.hpp>
|
| | Zip () |
| |
| | Zip (String const &filename, char const *password=NULL) |
| |
| | Zip (void *buf, uint32 size, char const *password=NULL) |
| |
| | ~Zip () |
| |
| bool | create (String const &filename, char const *password=NULL) |
| |
| bool | create (void *buf, uint32 size, char const *password=NULL) |
| |
| ZRESULT | close () |
| |
| ZRESULT | addFile (String const &dstPathInZip, String const &srcFilename) |
| |
| ZRESULT | addFile (String const &dstPathInZip, void *src, uint32 size) |
| |
| ZRESULT | addFolder (String const &dstPathInZip) |
| |
| void | zipAll (String const &dirPath) |
| |
| ZRESULT | getMemory (void **buf, unsigned long *size) |
| |
ZIP压缩
在文件 compress.hpp 第 43 行定义.
| winux::Zip::Zip |
( |
String const & |
filename, |
|
|
char const * |
password = NULL |
|
) |
| |
| winux::Zip::Zip |
( |
void * |
buf, |
|
|
uint32 |
size, |
|
|
char const * |
password = NULL |
|
) |
| |
| bool winux::Zip::create |
( |
String const & |
filename, |
|
|
char const * |
password = NULL |
|
) |
| |
| bool winux::Zip::create |
( |
void * |
buf, |
|
|
uint32 |
size, |
|
|
char const * |
password = NULL |
|
) |
| |
| void winux::Zip::zipAll |
( |
String const & |
dirPath | ) |
|
| ZRESULT winux::Zip::getMemory |
( |
void ** |
buf, |
|
|
unsigned long * |
size |
|
) |
| |
该类的文档由以下文件生成: