C# Class CrystalMpq.DclCompression

Exibir arquivo Open project: sgraf812/crystalmpq Class Usage Examples

Public Methods

Method Description
CompressBlock ( byte inBuffer, byte outBuffer ) : int
DecompressBlock ( byte inBuffer, int index, int count, byte outBuffer ) : int

Private Methods

Method Description
BuildAsciiTree ( ) : Node
BuildLengthTree ( ) : Node
BuildOffsetTree ( ) : Node
DecodeValue ( BitBuffer &bitBuffer, Node node ) : int

Method Details

CompressBlock() public static method

public static CompressBlock ( byte inBuffer, byte outBuffer ) : int
inBuffer byte
outBuffer byte
return int

DecompressBlock() public static method

public static DecompressBlock ( byte inBuffer, int index, int count, byte outBuffer ) : int
inBuffer byte
index int
count int
outBuffer byte
return int