C# Class Alexandria.Compression.LZW

Lempel-Ziv-Welch compression support.
显示文件 Open project: Burton-Radons/Alexandria

Public Methods

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

Decompress the LZW-compressed Stream source into the output, returning the number of bytes decompressed.

Decompress ( Stream source, byte output, int start, int count ) : int

Decompress the LZW-compressed Stream source into the output, returning the number of bytes decompressed.

Method Details

Decompress() public static method

Decompress the LZW-compressed Stream source into the output, returning the number of bytes decompressed.
public static Decompress ( Stream source, byte output ) : int
source Stream The to decompress from.
output byte The byte array to write into.
return int

Decompress() public static method

Decompress the LZW-compressed Stream source into the output, returning the number of bytes decompressed.
public static Decompress ( Stream source, byte output, int start, int count ) : int
source Stream The to decompress from.
output byte The byte array to write into.
start int The first byte offset in to write into.
count int The number of bytes in to write to at a maximum.
return int