|
ClanLib
2.3.7
|
Zip file writer. More...
#include <zip_writer.h>
Public Member Functions | |
Construction | |
| CL_ZipWriter (CL_IODevice &output, bool storeFilenamesAsUTF8=false) | |
| Constructs a ZipWriter. More... | |
Operations | |
| void | begin_file (const CL_StringRef &filename, bool compress) |
| Begins file entry in the zip file. More... | |
| void | write_file_data (const void *data, cl_byte64 size) |
| Writes some file data to the zip file. More... | |
| void | end_file () |
| Ends the file entry. More... | |
| void | write_toc () |
| Writes the table of contents part of the zip file. More... | |
Zip file writer.
| CL_ZipWriter::CL_ZipWriter | ( | CL_IODevice & | output, |
| bool | storeFilenamesAsUTF8 = false |
||
| ) |
Constructs a ZipWriter.
| output | = IODevice |
| storeFilenamesAsUTF8 | = bool |
| void CL_ZipWriter::begin_file | ( | const CL_StringRef & | filename, |
| bool | compress | ||
| ) |
Begins file entry in the zip file.
| void CL_ZipWriter::end_file | ( | ) |
Ends the file entry.
| void CL_ZipWriter::write_file_data | ( | const void * | data, |
| cl_byte64 | size | ||
| ) |
Writes some file data to the zip file.
| void CL_ZipWriter::write_toc | ( | ) |
Writes the table of contents part of the zip file.
1.8.4