System.ZLib.gz_header

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

  gz_header = record
    text: Integer;       // true if compressed data believed to be text
    time: LongWord;      // modification time
    xflags: Integer;     // extra flags (not used when writing a gzip file)
    os: Integer;         // operating system
    extra: PByte;        // pointer to extra field or Z_NULL if none
    extra_len: Cardinal; // extra field length (valid if extra != Z_NULL)
    extra_max: Cardinal; // space at extra (only when reading header)
    name: MarshaledAString; // pointer to zero-terminated file name or Z_NULL
    name_max: Cardinal;  // space at name (only when reading header)
    comment: MarshaledAString; // pointer to zero-terminated comment or Z_NULL
    comm_max: Cardinal;  // space at comment (only when reading header)
    hcrc: Integer;       // true if there was or will be a header crc
    done: Integer;       // true when done reading gzip header (not used
  end;

C++

struct DECLSPEC_DRECORD gz_header
{
public:
    int text;
    unsigned time;
    int xflags;
    int os;
    System::Byte *extra;
    unsigned extra_len;
    unsigned extra_max;
    char *name;
    unsigned name_max;
    char *comment;
    unsigned comm_max;
    int hcrc;
    int done;
};

Propriétés

Type Visibilité  Source Unité  Parent
record
struct
public
System.ZLib.pas
System.ZLib.hpp
System.ZLib System.ZLib

Description

gz_header contient des informations qui sont transmises vers et depuis les routines System.ZLib.

Utilisez l'enregistrement gz_header lors des opérations avec les flux gzip.

Pour de plus amples informations, voir la documentation originale fournie par la bibliothèque ZLib.

Voir aussi