Свойство | Type | Description | |
---|---|---|---|
pending |
Méthode | Description | |
---|---|---|
BitReverse ( int toReverse ) : short |
Reverse the bits of a 16 bit value.
|
|
CompressBlock ( ) : void |
Compress current buffer writing data to pending buffer
|
|
DeflaterHuffman ( |
Construct instance with pending buffer
|
|
FlushBlock ( byte stored, int storedOffset, int storedLength, bool lastBlock ) : void |
Flush block to output with compression
|
|
FlushStoredBlock ( byte stored, int storedOffset, int storedLength, bool lastBlock ) : void |
Flush block to output with no compression
|
|
IsFull ( ) : bool |
Get value indicating if internal buffer is full
|
|
Reset ( ) : void |
Reset internal state
|
|
SendAllTrees ( int blTreeCodes ) : void |
Write all trees to pending buffer
|
|
TallyDist ( int distance, int length ) : bool |
Add distance code and length to literal and distance trees
|
|
TallyLit ( int literal ) : bool |
Add literal to buffer
|
Méthode | Description | |
---|---|---|
Dcode ( int distance ) : int | ||
DeflaterHuffman ( ) : System | ||
Lcode ( int length ) : int |
public static BitReverse ( int toReverse ) : short | ||
toReverse | int | Value to reverse bits |
Résultat | short |
public DeflaterHuffman ( |
||
pending | Pending buffer to use | |
Résultat | System |
public FlushBlock ( byte stored, int storedOffset, int storedLength, bool lastBlock ) : void | ||
stored | byte | Data to flush |
storedOffset | int | Index of first byte to flush |
storedLength | int | Count of bytes to flush |
lastBlock | bool | True if this is the last block |
Résultat | void |
public FlushStoredBlock ( byte stored, int storedOffset, int storedLength, bool lastBlock ) : void | ||
stored | byte | Data to write |
storedOffset | int | Index of first byte to write |
storedLength | int | Count of bytes to write |
lastBlock | bool | True if this is the last block |
Résultat | void |
public SendAllTrees ( int blTreeCodes ) : void | ||
blTreeCodes | int | The number/rank of treecodes to send. |
Résultat | void |
public TallyDist ( int distance, int length ) : bool | ||
distance | int | Distance code |
length | int | Length |
Résultat | bool |
public TallyLit ( int literal ) : bool | ||
literal | int | Literal value to add to buffer. |
Résultat | bool |