make class works. need to be tested

This commit is contained in:
2026-08-31 14:59:10 +09:00
parent aaa3ae2f8d
commit 1b0cf51c38
4 changed files with 180 additions and 119 deletions
+5 -5
View File
@@ -2,10 +2,10 @@
#include <cstdint>
const static uint32_t PK_SIGNATURE_LF_HEADER = 0x04034b50; // PK + 0x0403
const static uint32_t PK_SIGNATURE_CENT_DIR = 0x02014b50; // PK + 0x0201
const static uint32_t PK_SIGNATURE_EO_CDR = 0x06054b50; // PK + 0x0605
const static uint16_t METHOD_UNCOMPRESSED = 0;
constexpr uint32_t PK_SIGNATURE_LF_HEADER = 0x04034b50; // PK + 0x0403
constexpr uint32_t PK_SIGNATURE_CENT_DIR = 0x02014b50; // PK + 0x0201
constexpr uint32_t PK_SIGNATURE_EO_CDR = 0x06054b50; // PK + 0x0605
constexpr uint16_t METHOD_UNCOMPRESSED = 0;
/** Overall .ZIP file format:
@@ -186,6 +186,6 @@ constexpr int LOCAL_FILE_HEADER_BYTE = 30;
};
// 정적 메모리 사이즈 검사
static_assert(sizeof(EoCDRecord) == EOCD_BYTE);
static_assert(sizeof(EoCDRecord) == EOCD_BYTE, "EoCDRecord Size is mismatch");
#pragma pack(pop)