Свойство | Тип | Описание | |
---|---|---|---|
AvailableBytesIn | int | ||
AvailableBytesOut | int | ||
InputBuffer | byte[] | ||
Message | System.String | ||
NextIn | int | ||
NextOut | int | ||
OutputBuffer | byte[] | ||
TotalBytesIn | long | ||
TotalBytesOut | long |
Метод | Описание | |
---|---|---|
EndInflate ( ) : int |
Ends an inflation session. Call this after successively calling Inflate(). This will cause all buffers to be flushed. After calling this you cannot call Inflate() without a intervening call to one of the InitializeInflate() overloads. |
|
Inflate ( int f ) : int |
Inflate the data in the InputBuffer, placing the result in the OutputBuffer. You must have set InputBuffer and OutputBuffer, NextIn and NextOut, and AvailableBytesIn and AvailableBytesOut before calling this method. |
|
InitializeInflate ( ) : int |
Initialize the inflation state. It is not necessary to call this before using the ZlibCodec to inflate data; It is implicitly called when you call the constructor. |
|
InitializeInflate ( bool expectRfc1950Header ) : int |
Initialize the inflation state with an explicit flag to govern the handling of RFC1950 header bytes. By default, the RFC1950 header is expected. If you want to read a zlib stream you should specify true for expectRfc1950Header. If you have a deflate stream, you will want to specify false. It is only necessary to invoke this initializer explicitly if you want to specify false. |
|
InitializeInflate ( int windowBits ) : int |
Initialize the ZlibCodec for inflation, with the specified number of window bits.
|
|
InitializeInflate ( int windowBits, bool expectRfc1950Header ) : int |
Initialize the inflation state with an explicit flag to govern the handling of RFC1950 header bytes. If you want to read a zlib stream you should specify true for expectRfc1950Header. If you have a deflate stream, you will want to specify false. |
|
SetDictionary ( byte dictionary ) : int |
Set the dictionary to be used for either Inflation or Deflation.
|
|
SyncInflate ( ) : int |
I don't know what this does!
|
|
ZlibCodec ( ) : System |
Create a ZlibCodec. If you use this default constructor, you will later have to explicitly call InitializeInflate() or InitializeDeflate() before using the ZlibCodec to compress or decompress. |
public Inflate ( int f ) : int | ||
f | int | I think you want to set this to Z_NO_FLUSH. |
Результат | int |
public InitializeInflate ( bool expectRfc1950Header ) : int | ||
expectRfc1950Header | bool | whether to expect an RFC1950 header byte pair when reading the stream of data to be inflated. |
Результат | int |
public InitializeInflate ( int windowBits ) : int | ||
windowBits | int | The number of window bits to use. If you need to ask what that is, /// then you shouldn't be calling this initializer. |
Результат | int |
public InitializeInflate ( int windowBits, bool expectRfc1950Header ) : int | ||
windowBits | int | The number of window bits to use. If you need to ask what that is, /// then you shouldn't be calling this initializer. |
expectRfc1950Header | bool | whether to expect an RFC1950 header byte pair when reading /// the stream of data to be inflated. |
Результат | int |
public SetDictionary ( byte dictionary ) : int | ||
dictionary | byte | The dictionary bytes to use. |
Результат | int |