System.Zip.TZipHeader
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;
#ifndef _WIN64
System::DynamicArray<System::Byte> FileName;
System::DynamicArray<System::Byte> ExtraField;
System::DynamicArray<System::Byte> FileComment;
#else /* _WIN64 */
System::TArray__1<System::Byte> FileName;
System::TArray__1<System::Byte> ExtraField;
System::TArray__1<System::Byte> FileComment;
#endif /* _WIN64 */
};
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.