System.Zip.TZipHeader

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

TZipHeader = packed record

C++

struct DECLSPEC_DRECORD TZipHeader
{
private:
    unsigned __int64 __fastcall Get64ExtraHeaderField(const TZip64ExtraHeader &Header, int Size, int Field);
    unsigned __int64 __fastcall GetUncompressedSize64();
    void __fastcall SetUncompressedSize64(unsigned __int64 Value);
    unsigned __int64 __fastcall GetCompressedSize64();
    void __fastcall SetCompressedSize64(unsigned __int64 Value);
    unsigned __int64 __fastcall GetLocalHeaderOffset64();
    void __fastcall SetLocalHeaderOffset64(unsigned __int64 Value);
    System::TDateTime __fastcall GetModifiedTime();
    void __fastcall SetModifiedTime(const System::TDateTime Value);
    System::Ioutils::TFileAttributes __fastcall GetFileAttributes();
    void __fastcall SetFileAttributes(const System::Ioutils::TFileAttributes Value);
    bool __fastcall GetFlag(int Index);
    void __fastcall SetFlag(int Index, bool Value);
public:
    System::UInt16 MadeByVersion;
    System::UInt16 RequiredVersion;
    System::UInt16 Flag;
    System::UInt16 CompressionMethod;
    System::UInt32 ModifiedDateTime;
    System::UInt32 CRC32;
    System::UInt32 CompressedSize;
    System::UInt32 UncompressedSize;
    System::UInt16 FileNameLength;
    System::UInt16 ExtraFieldLength;
    System::UInt16 FileCommentLength;
    System::UInt16 DiskNumberStart;
    System::UInt16 InternalAttributes;
    System::UInt32 ExternalAttributes;
    System::UInt32 LocalHeaderOffset;
    System::Sysutils::TBytes FileName;
    System::Sysutils::TBytes ExtraField;
    System::Sysutils::TBytes FileComment;
    __property unsigned __int64 UncompressedSize64 = {read=GetUncompressedSize64, write=SetUncompressedSize64};
    __property unsigned __int64 CompressedSize64 = {read=GetCompressedSize64, write=SetCompressedSize64};
    __property unsigned __int64 LocalHeaderOffset64 = {read=GetLocalHeaderOffset64, write=SetLocalHeaderOffset64};
    __property System::TDateTime ModifiedTime = {read=GetModifiedTime, write=SetModifiedTime};
    __property System::Ioutils::TFileAttributes FileAttributes = {read=GetFileAttributes, write=SetFileAttributes};
    __property bool IsEncrypted = {read=GetFlag, write=SetFlag, index=0};
    __property bool UseDataDescriptor = {read=GetFlag, index=3};
    __property bool UTF8Support = {read=GetFlag, write=SetFlag, index=11};
};

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.

Voir aussi