Zip

Engine/source/core/util/zip/centralDir.cpp

Namespace for the zip code.

More...

Classes:

class

Class for accessing Zip files.

class

Helper class for tracking CRC and uncompressed size.

Public Enumerations

enum
CDIntFlags {
  CDFileDirty = BIT(0)
  CDFileAdded = BIT(1)
  CDFileDeleted = BIT(2)
  CDFileOpen = BIT(3)
}

Internal flags used by the zip code when writing zips.

enum
CompressionMethod {
  Stored = 0
  Shrunk = 1
  ReducedL1 = 2
  ReducedL2 = 3
  ReducedL3 = 4
  ReducedL4 = 5
  Imploded = 6
  ReservedTokenized = 7
  Deflated = 8
  EnhDefalted = 9
  DateCompression = 10
  ReservedPKWARE = 11
  BZip2 = 12
  PPMd = 98
  AESEncrypted = 99
}
enum
FileFlags {
  Encrypted = BIT(0)
  Implode8KDictionary = BIT(1)
  Implode3ShannonFanoTrees = BIT(2)
  DeflateTypeMask = BIT(1) | BIT(2)
  FileInfoInDirectory = BIT(3)
  ReservedEnhDeflate = BIT(4)
  PatchData = BIT(5)
  StrongEncryption = BIT(6)
  UnusedReserved1 = BIT(7)
  UnusedReserved2 = BIT(8)
  UnusedReserved3 = BIT(9)
  UnusedReserved4 = BIT(10)
  UnusedReserved5 = BIT(11)
  ReservedPKWARE1 = BIT(12)
  EncryptedDirectory = BIT(13)
  ReservedPKWARE2 = BIT(14)
  ReservedPKWARE3 = BIT(15)
}

Public Typedefs

ExtraFieldCreateFn )()

Detailed Description

Namespace for the zip code.

Public Enumerations

CDIntFlags

Enumerator

CDFileDirty = BIT(0)
CDFileAdded = BIT(1)
CDFileDeleted = BIT(2)
CDFileOpen = BIT(3)

Internal flags used by the zip code when writing zips.

CompressionMethod

Enumerator

Stored = 0
Shrunk = 1
ReducedL1 = 2
ReducedL2 = 3
ReducedL3 = 4
ReducedL4 = 5
Imploded = 6
ReservedTokenized = 7
Deflated = 8
EnhDefalted = 9
DateCompression = 10
ReservedPKWARE = 11
BZip2 = 12
PPMd = 98
AESEncrypted = 99
FileFlags

Enumerator

Encrypted = BIT(0)
Implode8KDictionary = BIT(1)
Implode3ShannonFanoTrees = BIT(2)
DeflateTypeMask = BIT(1) | BIT(2)
FileInfoInDirectory = BIT(3)
ReservedEnhDeflate = BIT(4)
PatchData = BIT(5)
StrongEncryption = BIT(6)
UnusedReserved1 = BIT(7)
UnusedReserved2 = BIT(8)
UnusedReserved3 = BIT(9)
UnusedReserved4 = BIT(10)
UnusedReserved5 = BIT(11)
ReservedPKWARE1 = BIT(12)
EncryptedDirectory = BIT(13)
ReservedPKWARE2 = BIT(14)
ReservedPKWARE3 = BIT(15)

Public Typedefs

typedef ExtraField *(* ExtraFieldCreateFn )()

Public Variables

Compressor * gCompressorInitList 
ExtraField * gExtraFieldInitList 
S32 tempNum