"Fossies" - the Fresh Open Source Software Archive

Member "UXP-2019.06.08/other-licenses/7zstub/src/CPP/7zip/Archive/7z/7zHeader.cpp" (8 Jun 2019, 501 Bytes) of package /linux/www/UXP-2019.06.08.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    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 }}