System.ZLib.gz_header

From RAD Studio API Documentation
Jump to: navigation, search

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

Properties

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

Description

gz_header contains information that is passed to and from System.ZLib routines.

Use the gz_header record when dealing with gzip streams.

For more information, see the original documentation provided by the ZLib Library.

See Also