C# Class SmartAssembly.Zip.SimpleZip.DeflaterHuffman.Tree

ファイルを表示 Open project: CyberFoxHax/PCSXBonus

Public Properties

Property Type Description
freqs short[]
length byte[]
minNumCodes int
numCodes int

Public Methods

Method Description
BuildCodes ( ) : void
BuildTree ( ) : void
CalcBLFreq ( SimpleZip blTree ) : void
GetEncodedLength ( ) : int
SetStaticCodes ( short stCodes, byte stLength ) : void
Tree ( SimpleZip dh, int elems, int minCodes, int maxLength ) : System
WriteSymbol ( int code ) : void
WriteTree ( SimpleZip blTree ) : void

Private Methods

Method Description
BuildLength ( int childs ) : void

Method Details

BuildCodes() public method

public BuildCodes ( ) : void
return void

BuildTree() public method

public BuildTree ( ) : void
return void

CalcBLFreq() public method

public CalcBLFreq ( SimpleZip blTree ) : void
blTree SimpleZip
return void

GetEncodedLength() public method

public GetEncodedLength ( ) : int
return int

SetStaticCodes() public method

public SetStaticCodes ( short stCodes, byte stLength ) : void
stCodes short
stLength byte
return void

Tree() public method

public Tree ( SimpleZip dh, int elems, int minCodes, int maxLength ) : System
dh SimpleZip
elems int
minCodes int
maxLength int
return System

WriteSymbol() public method

public WriteSymbol ( int code ) : void
code int
return void

WriteTree() public method

public WriteTree ( SimpleZip blTree ) : void
blTree SimpleZip
return void

Property Details

freqs public_oe property

public short[] freqs
return short[]

length public_oe property

public byte[] length
return byte[]

minNumCodes public_oe property

public int minNumCodes
return int

numCodes public_oe property

public int numCodes
return int