System.ZLib.gz_header
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
Embarcadero Technologies ne possède pas d'informations supplémentaires pour le moment. Veuillez nous aider à documenter cette rubrique en utilisant la page Discussion !