System.ZLib.z_stream
Delphi
z_stream = record
next_in: PByte; // next input byte
avail_in: Cardinal; // number of bytes available at next_in
total_in: LongWord; // total nb of input bytes read so far
next_out: PByte; // next output byte should be put here
avail_out: Cardinal; // remaining free space at next_out
total_out: LongWord; // total nb of bytes output so far
msg: MarshaledAString; // last error message, NULL if no error
state: Pinternal_state; // not visible by applications
zalloc: alloc_func; // used to allocate the internal state
zfree: free_func; // used to free the internal state
opaque: Pointer; // private data object passed to zalloc and zfree
data_type: Integer; // best guess about the data type: ascii or binary
adler: LongWord; // adler32 value of the uncompressed data
reserved: LongWord; // reserved for future use
end;
C++
struct DECLSPEC_DRECORD z_stream
{
public:
System::Byte *next_in;
unsigned avail_in;
unsigned total_in;
System::Byte *next_out;
unsigned avail_out;
unsigned total_out;
char *msg;
internal_state *state;
alloc_func zalloc;
free_func zfree;
void *opaque;
int data_type;
unsigned adler;
unsigned reserved;
};
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
record struct |
public | System.ZLib.pas System.ZLib.hpp |
System.ZLib | System.ZLib |
Beschreibung
Mit dem Record z_stream werden Daten komprimiert und dekomprimiert.
Weitere Informationen finden Sie in der Originaldokumentation zur ZLib Library (ZLib-Bibliothek).