ZIP压缩  
 更多...
#include <archives.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压缩 
在文件 archives.hpp 第 142 行定义.
 
      
        
          | 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  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | ZRESULT winux::Zip::getMemory  | 
          ( | 
          void **  | 
          buf,  | 
        
        
           | 
           | 
          unsigned long *  | 
          size  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | void winux::Zip::zipAll  | 
          ( | 
          String const &  | 
          dirPath | ) | 
           | 
        
      
 
 
该类的文档由以下文件生成: