1 // 7zHeader.cpp 2 3 #include "StdAfx.h" 4 5 #include "7zHeader.h" 6 7 namespace NArchive { 8 namespace N7z { 9 10 Byte kSignature[kSignatureSize] = {'7', 'z', 0xBC, 0xAF, 0x27, 0x1C}; 11 #ifdef _7Z_VOL 12 Byte kFinishSignature[kSignatureSize] = {'7', 'z', 0xBC, 0xAF, 0x27, 0x1C + 1}; 13 #endif 14 15 // We can change signature. So file doesn't contain correct signature. 16 // struct SignatureInitializer { SignatureInitializer() { kSignature[0]--; } }; 17 // static SignatureInitializer g_SignatureInitializer; 18 19 }} 20