C# Class Alexandria.Compression.DclImplode

Supports the PKWARE DCL Implode format.
显示文件 Open project: Burton-Radons/Alexandria

Public Methods

Method Description
Decompress ( Stream source, byte output ) : int

Decompress the source into the output, then return the number of decompressed bytes.

Private Methods

Method Description
FillBitBuffer ( int &bitBuffer, int &bitCount, int requiredBits, Stream source ) : void
RemoveBits ( int &bitBuffer, int &bitCount, int bits ) : void
Truncate ( int value, int bits ) : int
WriteToOutput ( byte value, byte output, int &outputOffset, byte dictionary, int dictionaryTotalSize, int &dictionaryOffset, int &dictionarySize ) : void

Method Details

Decompress() public static method

Decompress the source into the output, then return the number of decompressed bytes.
public static Decompress ( Stream source, byte output ) : int
source Stream The to decompress from.
output byte The byte array to store the decompressed data in.
return int