src/lzma/7zFormat.txt
author Ryan C. Gordon <icculus@icculus.org>
Thu, 25 Feb 2016 01:16:42 -0500
changeset 1371 da48b9ff4c9b
parent 972 254427fc42ab
permissions -rw-r--r--
Fixed a comment.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
917
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     1
7z Format description (2.30 Beta 25)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     2
-----------------------------------
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     3
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     4
This file contains description of 7z archive format. 
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     5
7z archive can contain files compressed with any method.
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     6
See "Methods.txt" for description for defined compressing methods.
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     7
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     8
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     9
Format structure Overview
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    10
-------------------------
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    11
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    12
Some fields can be optional.
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    13
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    14
Archive structure
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    15
~~~~~~~~~~~~~~~~~  
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    16
SignatureHeader
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    17
[PackedStreams]
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    18
[PackedStreamsForHeaders]
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    19
[
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    20
  Header 
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    21
  or 
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    22
  {
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    23
    Packed Header
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    24
    HeaderInfo
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    25
  }
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    26
]
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    27
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    28
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    29
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    30
Header structure
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    31
~~~~~~~~~~~~~~~~  
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    32
{
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    33
  ArchiveProperties
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    34
  AdditionalStreams
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    35
  {
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    36
    PackInfo
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    37
    {
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    38
      PackPos
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    39
      NumPackStreams
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    40
      Sizes[NumPackStreams]
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    41
      CRCs[NumPackStreams]
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    42
    }
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    43
    CodersInfo
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    44
    {
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    45
      NumFolders
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    46
      Folders[NumFolders]
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    47
      {
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    48
        NumCoders
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    49
        CodersInfo[NumCoders]
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    50
        {
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    51
          ID
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    52
          NumInStreams;
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    53
          NumOutStreams;
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    54
          PropertiesSize
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    55
          Properties[PropertiesSize]
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    56
        }
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    57
        NumBindPairs
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    58
        BindPairsInfo[NumBindPairs]
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    59
        {
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    60
          InIndex;
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    61
          OutIndex;
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    62
        }
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    63
        PackedIndices
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    64
      }
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    65
      UnPackSize[Folders][Folders.NumOutstreams]
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    66
      CRCs[NumFolders]
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    67
    }
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    68
    SubStreamsInfo
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    69
    {
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    70
      NumUnPackStreamsInFolders[NumFolders];
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    71
      UnPackSizes[]
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    72
      CRCs[]
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    73
    }
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    74
  }
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    75
  MainStreamsInfo
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    76
  {
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    77
    (Same as in AdditionalStreams)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    78
  }
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    79
  FilesInfo
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    80
  {
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    81
    NumFiles
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    82
    Properties[]
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    83
    {
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    84
      ID
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    85
      Size
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    86
      Data
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    87
    }
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    88
  }
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    89
}
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    90
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    91
HeaderInfo structure
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    92
~~~~~~~~~~~~~~~~~~~~
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    93
{
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    94
  (Same as in AdditionalStreams)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    95
}
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    96
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    97
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    98
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    99
Notes about Notation and encoding
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   100
---------------------------------
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   101
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   102
7z uses little endian encoding.
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   103
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   104
7z archive format has optional headers that are marked as
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   105
[]
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   106
Header
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   107
[]
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   108
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   109
REAL_UINT64 means real UINT64.
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   110
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   111
UINT64 means real UINT64 encoded with the following scheme:
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   112
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   113
  Size of encoding sequence depends from first byte:
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   114
  First_Byte  Extra_Bytes        Value
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   115
  (binary)   
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   116
  0xxxxxxx               : ( xxxxxxx           )
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   117
  10xxxxxx    BYTE y[1]  : (  xxxxxx << (8 * 1)) + y
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   118
  110xxxxx    BYTE y[2]  : (   xxxxx << (8 * 2)) + y
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   119
  ...
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   120
  1111110x    BYTE y[6]  : (       x << (8 * 6)) + y
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   121
  11111110    BYTE y[7]  :                         y
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   122
  11111111    BYTE y[8]  :                         y
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   123
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   124
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   125
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   126
Property IDs
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   127
------------
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   128
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   129
0x00 = kEnd,
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   130
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   131
0x01 = kHeader,
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   132
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   133
0x02 = kArchiveProperties,
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   134
    
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   135
0x03 = kAdditionalStreamsInfo,
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   136
0x04 = kMainStreamsInfo,
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   137
0x05 = kFilesInfo,
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   138
    
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   139
0x06 = kPackInfo,
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   140
0x07 = kUnPackInfo,
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   141
0x08 = kSubStreamsInfo,
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   142
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   143
0x09 = kSize,
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   144
0x0A = kCRC,
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   145
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   146
0x0B = kFolder,
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   147
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   148
0x0C = kCodersUnPackSize,
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   149
0x0D = kNumUnPackStream,
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   150
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   151
0x0E = kEmptyStream,
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   152
0x0F = kEmptyFile,
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   153
0x10 = kAnti,
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   154
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   155
0x11 = kName,
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   156
0x12 = kCreationTime,
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   157
0x13 = kLastAccessTime,
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   158
0x14 = kLastWriteTime,
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   159
0x15 = kWinAttributes,
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   160
0x16 = kComment,
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   161
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   162
0x17 = kEncodedHeader,
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   163
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   164
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   165
7z format headers
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   166
-----------------
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   167
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   168
SignatureHeader
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   169
~~~~~~~~~~~~~~~
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   170
  BYTE kSignature[6] = {'7', 'z', 0xBC, 0xAF, 0x27, 0x1C};
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   171
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   172
  ArchiveVersion
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   173
  {
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   174
    BYTE Major;   // now = 0
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   175
    BYTE Minor;   // now = 2
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   176
  };
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   177
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   178
  UINT32 StartHeaderCRC;
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   179
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   180
  StartHeader
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   181
  {
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   182
    REAL_UINT64 NextHeaderOffset
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   183
    REAL_UINT64 NextHeaderSize
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   184
    UINT32 NextHeaderCRC
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   185
  }
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   186
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   187
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   188
...........................
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   189
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   190
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   191
ArchiveProperties
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   192
~~~~~~~~~~~~~~~~~
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   193
BYTE NID::kArchiveProperties (0x02)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   194
for (;;)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   195
{
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   196
  BYTE PropertyType;
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   197
  if (aType == 0)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   198
    break;
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   199
  UINT64 PropertySize;
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   200
  BYTE PropertyData[PropertySize];
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   201
}
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   202
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   203
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   204
Digests (NumStreams)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   205
~~~~~~~~~~~~~~~~~~~~~
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   206
  BYTE AllAreDefined
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   207
  if (AllAreDefined == 0)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   208
  {
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   209
    for(NumStreams)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   210
      BIT Defined
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   211
  }
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   212
  UINT32 CRCs[NumDefined]
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   213
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   214
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   215
PackInfo
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   216
~~~~~~~~~~~~
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   217
  BYTE NID::kPackInfo  (0x06)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   218
  UINT64 PackPos
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   219
  UINT64 NumPackStreams
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   220
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   221
  []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   222
  BYTE NID::kSize    (0x09)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   223
  UINT64 PackSizes[NumPackStreams]
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   224
  []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   225
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   226
  []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   227
  BYTE NID::kCRC      (0x0A)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   228
  PackStreamDigests[NumPackStreams]
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   229
  []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   230
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   231
  BYTE NID::kEnd
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   232
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   233
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   234
Folder
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   235
~~~~~~
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   236
  UINT64 NumCoders;
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   237
  for (NumCoders)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   238
  {
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   239
    BYTE 
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   240
    {
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   241
      0:3 DecompressionMethod.IDSize
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   242
      4:
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   243
        0 - IsSimple
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   244
        1 - Is not simple
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   245
      5:
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   246
        0 - No Attributes
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   247
        1 - There Are Attributes
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   248
      7:
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   249
        0 - Last Method in Alternative_Method_List
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   250
        1 - There are more alternative methods
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   251
    } 
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   252
    BYTE DecompressionMethod.ID[DecompressionMethod.IDSize]
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   253
    if (!IsSimple)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   254
    {
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   255
      UINT64 NumInStreams;
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   256
      UINT64 NumOutStreams;
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   257
    }
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   258
    if (DecompressionMethod[0] != 0)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   259
    {
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   260
      UINT64 PropertiesSize
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   261
      BYTE Properties[PropertiesSize]
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   262
    }
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   263
  }
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   264
    
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   265
  NumBindPairs = NumOutStreamsTotal - 1;
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   266
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   267
  for (NumBindPairs)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   268
  {
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   269
    UINT64 InIndex;
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   270
    UINT64 OutIndex;
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   271
  }
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   272
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   273
  NumPackedStreams = NumInStreamsTotal - NumBindPairs;
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   274
  if (NumPackedStreams > 1)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   275
    for(NumPackedStreams)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   276
    {
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   277
      UINT64 Index;
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   278
    };
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   279
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   280
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   281
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   282
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   283
Coders Info
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   284
~~~~~~~~~~~
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   285
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   286
  BYTE NID::kUnPackInfo  (0x07)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   287
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   288
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   289
  BYTE NID::kFolder  (0x0B)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   290
  UINT64 NumFolders
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   291
  BYTE External
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   292
  switch(External)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   293
  {
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   294
    case 0:
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   295
      Folders[NumFolders]
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   296
    case 1:
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   297
      UINT64 DataStreamIndex
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   298
  }
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   299
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   300
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   301
  BYTE ID::kCodersUnPackSize  (0x0C)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   302
  for(Folders)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   303
    for(Folder.NumOutStreams)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   304
     UINT64 UnPackSize;
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   305
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   306
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   307
  []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   308
  BYTE NID::kCRC   (0x0A)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   309
  UnPackDigests[NumFolders]
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   310
  []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   311
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   312
  
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   313
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   314
  BYTE NID::kEnd
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   315
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   316
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   317
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   318
SubStreams Info
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   319
~~~~~~~~~~~~~~
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   320
  BYTE NID::kSubStreamsInfo; (0x08)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   321
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   322
  []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   323
  BYTE NID::kNumUnPackStream; (0x0D)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   324
  UINT64 NumUnPackStreamsInFolders[NumFolders];
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   325
  []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   326
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   327
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   328
  []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   329
  BYTE NID::kSize  (0x09)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   330
  UINT64 UnPackSizes[]
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   331
  []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   332
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   333
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   334
  []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   335
  BYTE NID::kCRC  (0x0A)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   336
  Digests[Number of streams with unknown CRC]
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   337
  []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   338
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   339
  
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   340
  BYTE NID::kEnd
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   341
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   342
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   343
Streams Info
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   344
~~~~~~~~~~~~
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   345
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   346
  []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   347
  PackInfo
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   348
  []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   349
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   350
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   351
  []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   352
  CodersInfo
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   353
  []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   354
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   355
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   356
  []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   357
  SubStreamsInfo
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   358
  []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   359
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   360
  BYTE NID::kEnd
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   361
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   362
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   363
FilesInfo
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   364
~~~~~~~~~
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   365
  BYTE NID::kFilesInfo;  (0x05)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   366
  UINT64 NumFiles
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   367
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   368
  for (;;)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   369
  {
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   370
    BYTE PropertyType;
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   371
    if (aType == 0)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   372
      break;
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   373
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   374
    UINT64 Size;
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   375
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   376
    switch(PropertyType)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   377
    {
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   378
      kEmptyStream:   (0x0E)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   379
        for(NumFiles)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   380
          BIT IsEmptyStream
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   381
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   382
      kEmptyFile:     (0x0F)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   383
        for(EmptyStreams)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   384
          BIT IsEmptyFile
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   385
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   386
      kAnti:          (0x10)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   387
        for(EmptyStreams)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   388
          BIT IsAntiFile
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   389
      
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   390
      case kCreationTime:   (0x12)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   391
      case kLastAccessTime: (0x13)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   392
      case kLastWriteTime:  (0x14)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   393
        BYTE AllAreDefined
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   394
        if (AllAreDefined == 0)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   395
        {
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   396
          for(NumFiles)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   397
            BIT TimeDefined
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   398
        }
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   399
        BYTE External;
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   400
        if(External != 0)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   401
          UINT64 DataIndex
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   402
        []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   403
        for(Definded Items)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   404
          UINT32 Time
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   405
        []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   406
      
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   407
      kNames:     (0x11)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   408
        BYTE External;
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   409
        if(External != 0)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   410
          UINT64 DataIndex
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   411
        []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   412
        for(Files)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   413
        {
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   414
          wchar_t Names[NameSize];
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   415
          wchar_t 0;
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   416
        }
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   417
        []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   418
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   419
      kAttributes:  (0x15)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   420
        BYTE AllAreDefined
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   421
        if (AllAreDefined == 0)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   422
        {
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   423
          for(NumFiles)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   424
            BIT AttributesAreDefined
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   425
        }
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   426
        BYTE External;
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   427
        if(External != 0)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   428
          UINT64 DataIndex
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   429
        []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   430
        for(Definded Attributes)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   431
          UINT32 Attributes
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   432
        []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   433
    }
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   434
  }
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   435
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   436
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   437
Header
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   438
~~~~~~
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   439
  BYTE NID::kHeader (0x01)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   440
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   441
  []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   442
  ArchiveProperties
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   443
  []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   444
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   445
  []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   446
  BYTE NID::kAdditionalStreamsInfo; (0x03)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   447
  StreamsInfo
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   448
  []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   449
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   450
  []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   451
  BYTE NID::kMainStreamsInfo;    (0x04)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   452
  StreamsInfo
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   453
  []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   454
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   455
  []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   456
  FilesInfo
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   457
  []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   458
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   459
  BYTE NID::kEnd
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   460
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   461
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   462
HeaderInfo
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   463
~~~~~~~~~~
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   464
  []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   465
  BYTE NID::kEncodedHeader; (0x17)
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   466
  StreamsInfo for Encoded Header
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   467
  []
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   468
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   469
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   470
---
d299a58a274f Upgraded lzma sdk to 4.57.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   471
End of document