System.ZLib.gz_header

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

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;
};

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
record
struct
public
System.ZLib.pas
System.ZLib.hpp
System.ZLib System.ZLib

Beschreibung

gz_header enthält Informationen, die an und von System.ZLib-Routinen übergeben werden.

Verwenden Sie den gz_header-Record für gzip-Streams.

Weitere Informationen finden Sie in der Originaldokumentation zur ZLib Library (ZLib-Bibliothek).

Siehe auch