C# Class PuyoTools.Modules.Compression.CompCompression

Inheritance: PuyoTools.Modules.Compression.Lz11Compression
Mostrar archivo Open project: nickworonekin/puyotools

Public Methods

Method Description
Compress ( Stream source, Stream destination ) : void

Compress data from a stream.

Decompress ( Stream source, Stream destination ) : void

Decompress data from a stream.

Is ( Stream source, int length, string fname ) : bool

Determines if the data is in the specified format.

Method Details

Compress() public method

Compress data from a stream.
public Compress ( Stream source, Stream destination ) : void
source Stream The stream to read from.
destination Stream The stream to write to.
return void

Decompress() public method

Decompress data from a stream.
public Decompress ( Stream source, Stream destination ) : void
source Stream The stream to read from.
destination Stream The stream to write to.
return void

Is() public method

Determines if the data is in the specified format.
public Is ( Stream source, int length, string fname ) : bool
source Stream The stream to read from.
length int Number of bytes to read.
fname string Name of the file.
return bool