System.ZLib.z_stream

提供: RAD Studio API Documentation
移動先: 案内検索

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

プロパティ

種類 可視性 ソース ユニット
record
struct
public
System.ZLib.pas
System.ZLib.hpp
System.ZLib System.ZLib

説明

z_stream は、データの圧縮と解凍に使用されるレコードです。


詳細は、ZLib ライブラリから提供される元のドキュメントを参照してください。

関連項目