C# Class PuyoTools.Modules.Compression.CompCompression

Inheritance: PuyoTools.Modules.Compression.Lz11Compression
Afficher le fichier Open project: nickworonekin/puyotools

Méthodes publiques

Méthode 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 méthode

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.
Résultat void

Decompress() public méthode

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.
Résultat void

Is() public méthode

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.
Résultat bool