C# Class SmartAssembly.Zip.SimpleZip.DeflaterHuffman

Mostra file Open project: CyberFoxHax/PCSXBonus Class Usage Examples

Public Methods

Method Description
BitReverse ( int toReverse ) : short
CompressBlock ( ) : void
DeflaterHuffman ( SimpleZip pending ) : System
FlushBlock ( byte stored, int storedOffset, int storedLength, bool lastBlock ) : void
FlushStoredBlock ( byte stored, int storedOffset, int storedLength, bool lastBlock ) : void
Init ( ) : void
IsFull ( ) : bool
SendAllTrees ( int blTreeCodes ) : void
TallyDist ( int dist, int len ) : bool
TallyLit ( int lit ) : bool

Private Methods

Method Description
Dcode ( int distance ) : int
DeflaterHuffman ( ) : System
Lcode ( int len ) : int

Method Details

BitReverse() public static method

public static BitReverse ( int toReverse ) : short
toReverse int
return short

CompressBlock() public method

public CompressBlock ( ) : void
return void

DeflaterHuffman() public method

public DeflaterHuffman ( SimpleZip pending ) : System
pending SimpleZip
return System

FlushBlock() public method

public FlushBlock ( byte stored, int storedOffset, int storedLength, bool lastBlock ) : void
stored byte
storedOffset int
storedLength int
lastBlock bool
return void

FlushStoredBlock() public method

public FlushStoredBlock ( byte stored, int storedOffset, int storedLength, bool lastBlock ) : void
stored byte
storedOffset int
storedLength int
lastBlock bool
return void

Init() public method

public Init ( ) : void
return void

IsFull() public method

public IsFull ( ) : bool
return bool

SendAllTrees() public method

public SendAllTrees ( int blTreeCodes ) : void
blTreeCodes int
return void

TallyDist() public method

public TallyDist ( int dist, int len ) : bool
dist int
len int
return bool

TallyLit() public method

public TallyLit ( int lit ) : bool
lit int
return bool