make class works. need to be tested
This commit is contained in:
+5
-5
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user