System.Zip.TZipHeader
De RAD Studio API Documentation
Delphi
TZipHeader = packed record MadeByVersion: UInt16; // Start of Central Header RequiredVersion: UInt16; // Start of Local Header Flag: UInt16; CompressionMethod: UInt16; ModifiedDateTime: UInt32; CRC32: UInt32; CompressedSize: UInt32; UncompressedSize: UInt32; FileNameLength: UInt16; ExtraFieldLength: UInt16; // End of Local Header FileCommentLength: UInt16; DiskNumberStart: UInt16; InternalAttributes: UInt16; ExternalAttributes: UInt32; LocalHeaderOffset: UInt32; // End of Central Header FileName: TBytes; ExtraField: TBytes; FileComment: TBytes; end;
C++
struct DECLSPEC_DRECORD TZipHeader{ public: System::Word MadeByVersion; System::Word RequiredVersion; System::Word Flag; System::Word CompressionMethod; unsigned ModifiedDateTime; unsigned CRC32; unsigned CompressedSize; unsigned UncompressedSize; System::Word FileNameLength; System::Word ExtraFieldLength; System::Word FileCommentLength; System::Word DiskNumberStart; System::Word InternalAttributes; unsigned ExternalAttributes; unsigned LocalHeaderOffset; System::DynamicArray<System::Byte> FileName; System::DynamicArray<System::Byte> ExtraField; System::DynamicArray<System::Byte> FileComment; };
Propriétés
| Type | Visibilité | Source | Unité | Parent |
|---|---|---|---|---|
record struct |
public | System.Zip.pas System.Zip.hpp |
System.Zip | System.Zip |
Description
TZipHeader contient des informations sur un fichier d'une archive .zip.
TZipHeader est utilisée par TZipFile pour contenir des informations sur un fichier d'une archive .zip.