Protected
_dataThe upper byte of "version made by", indicates the compatibility of the file attribute information.
Readonly
commentThe comment for this file
The length of the comment
The size of the file compressed
Protected
datetimeThe mapping of the external attributes is host-system dependent. For MS-DOS, the low order byte is the MS-DOS directory attribute byte. If input came from standard input, this field is set to zero.
The length of the extra field
General purpose bit flags
This is the offset from the start of the first disk on which this file appears to where the local header should be found.
Readonly
nameThe name of the file, with optional relative path. The filename is preloaded here, since looking it up is expensive.
4.4.17.1 claims:
Unfortunately, this isn't true in practice. Some Windows zip utilities use a backslash here, but the correct Unix-style path in file headers. To avoid seeking all over the file to recover the known-good filenames from file headers, we simply convert '/' to '' here.
The length of the file name
The number of the disk on which this file begins.
The size of the file uncompressed
The minimum supported ZIP specification version needed to extract the file.
Protected
zipThe lower byte of "version made by", indicates the ZIP specification version supported by the software used to encode the file.
major — floor zipVersion
/ 10
minor — zipVersion
mod 10
Gets the file data, and decompresses it if needed.
This should be used for storage expansion.
Whether this entry is a directory
Whether this entry is a file
The date and time are encoded in standard MS-DOS format. This getter decodes the date.
The total size of the this entry
Refered to as a "central directory" record in the spec. This is a file metadata entry inside the "central directory".
See
http://pkware.com/documents/casestudies/APPNOTE.TXT#:~:text=4.3.12