载入中...
搜索中...
未找到
#include <cstdint>#include <cstdio>#include <cstring>#include <filesystem>#include <fstream>#include <string>#include <vector>#include <zlib.h>类 | |
| class | eve::cmdline::ZipWriter |
| 流式 ZIP 写入器:open → addFile×N → finish。 更多... | |
命名空间 | |
| namespace | eve |
| namespace | eve::cmdline |
Minimal streaming ZIP writer used by eve zip / eve package to produce a PhysFS-mountable game archive (.eve). Entries are DEFLATE-compressed (method 8) using zlib's raw deflate. The output is a standard ZIP readable by PhysFS. | |
| namespace | eve::cmdline::detail |
宏定义 | |
| #define | EVE_ZIP_METHOD 8 |
| 0 = STORED(不压缩),8 = DEFLATE。 | |
函数 | |
| bool | eve::cmdline::detail::rawDeflate (const char *in, size_t inLen, std::vector< char > &out) |
| Raw deflate(无 zlib/gzip 包装),ZIP method 8 条目需要。 | |
| void | eve::cmdline::detail::put16 (std::vector< char > &b, uint16_t v) |
| 以小端序写入 uint16 / uint32。 | |
| void | eve::cmdline::detail::put32 (std::vector< char > &b, uint32_t v) |
| bool | eve::cmdline::createGameArchive (const std::filesystem::path &gameDir, const std::filesystem::path &outArchive) |
宏定义说明
◆ EVE_ZIP_METHOD
| #define EVE_ZIP_METHOD 8 |
0 = STORED(不压缩),8 = DEFLATE。
在文件 zip_writer.h 第 22 行定义.