프로퍼티 | 타입 | 설명 | |
---|---|---|---|
AvailableBytesIn | int | ||
AvailableBytesOut | int | ||
InputBuffer | byte[] | ||
Message | string | ||
NextIn | int | ||
NextOut | int | ||
OutputBuffer | byte[] | ||
TotalBytesIn | long | ||
TotalBytesOut | long | ||
WindowBits | int |
메소드 | 설명 | |
---|---|---|
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 ( FlushType flush ) : 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 ZLIB header defined in |
|
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. In this case, the library will expect to find a ZLIB header, as defined in |
|
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 ( ) |
Create a ZlibCodec that decompresses.
|
public Inflate ( FlushType flush ) : int | ||
flush | FlushType | The flush to use when inflating. |
리턴 | 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 |