Root > Reference > All Types > TZipHeader

Type TZipHeader

Previous pageReturn to chapter overviewNext page   

TZipHeader contains information about a file in a zip archive.

 

Unit

EZip

 

Syntax

 

Code (Delphi)

TZipHeader = packed record

MadeByVersionUInt8;

HostOSUInt8;

RequiredVersionUInt16;

Flag: UInt16;

CompressionMethod: UInt16;

ModifiedDateTime: UInt32;

CRC32: UInt32;

CompressedSize: UInt32;

UncompressedSize: UInt32;

FileNameLength: UInt16;

ExtraFieldLength: UInt16;

FileCommentLength: UInt16;

DiskNumberStart: UInt16;

InternalAttributes: UInt16;

ExternalAttributes: UInt32;

LocalHeaderOffset: UInt32;

FileName: String;

FileNameRAW: RawByteString;

ExtraField: TBytes;

FileComment: String;

FileCommentRAW: RawByteString;

TimeCreate: TDateTime;

TimeChange: TDateTime;

TimeAccess: TDateTime;

end;

 

Remarks

This record is overloaded for use in reading/writing ZIP [Local file header] and the Central Directory's [file header].

 

See PKZIP Application Note section V. General Format of a .ZIP file sub section J. Explanation of fields for more detailed description of each field's usage.




Send feedback... Build date: 2024-09-30
Last edited: 2024-09-30
PRIVACY STATEMENT
The documentation team uses the feedback submitted to improve the EurekaLog documentation. We do not use your e-mail address for any other purpose. We will remove your e-mail address from our system after the issue you are reporting has been resolved. While we are working to resolve this issue, we may send you an e-mail message to request more information about your feedback. After the issues have been addressed, we may send you an email message to let you know that your feedback has been addressed.


Permanent link to this article: https://www.eurekalog.com/help/eurekalog/topic_type_ezip_tzipheader.php