Structure
ZipStat
public struct ZipStat
Properties of the archive etry.
Relationships
Nested Types
ZipStat.CompressionFlagsA compression preference for deflate.
ZipStat.CompressionMethodA compression algorithm.
ZipStat.EncryptionMethodAn encryption method.
ZipStat.ValidFieldsA set of valid property values in the
ZipEntry.Statstruct.
Initializers
init(size:compressedSize:modificationDate:crc32:compressionMethod:encryptionMethod:flags:)
public init(size: Int? = nil, compressedSize: Int? = nil, modificationDate: Date? = nil, crc32: UInt32? = nil, compressionMethod: CompressionMethod? = nil, encryptionMethod: EncryptionMethod? = nil, flags: UInt32? = nil)
Properties
validFields
var validFields: ValidFields
Set of valid fields in a struct
rawName
var rawName: Data?
Name of the file
index
var index: UInt64?
Index within archive
size
var size: Int?
Size of file (uncompressed)
compressedSize
var compressedSize: Int?
Size of file (compressed)
modificationDate
var modificationDate: Date?
Modification date and time
crc32
var crc32: UInt32?
CRC32 of file data
compressionMethod
var compressionMethod: CompressionMethod?
Compression method used
encryptionMethod
var encryptionMethod: EncryptionMethod?
Encryption method used
flags
var flags: UInt32?
Reserved for future use