Method | Description | |
---|---|---|
Deflate ( bool flush, bool finish ) : bool |
Deflate drives actual compression of data
|
|
DeflaterEngine ( |
Construct instance with pending buffer
|
|
FillWindow ( ) : void |
Fill the window
|
|
NeedsInput ( ) : bool |
Determines if more
|
|
Reset ( ) : void |
Reset internal state
|
|
ResetAdler ( ) : void |
Reset Adler checksum
|
|
SetDictionary ( byte buffer, int offset, int length ) : void |
Set compression dictionary
|
|
SetInput ( byte buffer, int offset, int count ) : void |
Sets input data to be deflated. Should only be called when
|
|
SetLevel ( int level ) : void |
Set the deflate level (0-9)
|
Method | Description | |
---|---|---|
DeflateFast ( bool flush, bool finish ) : bool | ||
DeflateSlow ( bool flush, bool finish ) : bool | ||
DeflateStored ( bool flush, bool finish ) : bool | ||
FindLongestMatch ( int curMatch ) : bool |
Find the best (longest) string in the window matching the string starting at strstart. Preconditions:
|
|
InsertString ( ) : int |
Inserts the current string in the head hash and returns the previous value for this hash.
|
|
SlideWindow ( ) : void | ||
UpdateHash ( ) : void |
public Deflate ( bool flush, bool finish ) : bool | ||
flush | bool | True to flush input buffers |
finish | bool | Finish deflation with the current input. |
return | bool |
public DeflaterEngine ( |
||
pending | /// Pending buffer to use /// | |
return | System |
public SetDictionary ( byte buffer, int offset, int length ) : void | ||
buffer | byte | The buffer containing the dictionary data |
offset | int | The offset in the buffer for the first byte of data |
length | int | The length of the dictionary data. |
return | void |
public SetInput ( byte buffer, int offset, int count ) : void | ||
buffer | byte | The buffer containing input data. |
offset | int | The offset of the first byte of data. |
count | int | The number of bytes of data to use as input. |
return | void |
public SetLevel ( int level ) : void | ||
level | int | The value to set the level to. |
return | void |