C# Class DSDecmp.Formats.Nitro.NullCompression

'Compression' format without any compression whatsoever. Compression using this format will only prepend 0x00 plus the original file size to the file.
Inheritance: DSDecmp.Formats.Nitro.NitroCFormat
Afficher le fichier Open project: SciresM/FEAT

Méthodes publiques

Méthode Description
Compress ( System instream, long inLength, System outstream ) : int

'Compresses' the given input stream using the NULL format.

Decompress ( System instream, long inLength, System outstream ) : long

'Decompresses' the given input stream using the NULL format.

NullCompression ( ) : System

Creates a new instance of the NULL-compression format.

Supports ( System stream, long inLength ) : bool

Checks if the given stream is (or could be) 'compressed' using the NULL compression format.

Method Details

Compress() public méthode

'Compresses' the given input stream using the NULL format.
public Compress ( System instream, long inLength, System outstream ) : int
instream System
inLength long
outstream System
Résultat int

Decompress() public méthode

'Decompresses' the given input stream using the NULL format.
public Decompress ( System instream, long inLength, System outstream ) : long
instream System
inLength long
outstream System
Résultat long

NullCompression() public méthode

Creates a new instance of the NULL-compression format.
public NullCompression ( ) : System
Résultat System

Supports() public méthode

Checks if the given stream is (or could be) 'compressed' using the NULL compression format.
public Supports ( System stream, long inLength ) : bool
stream System
inLength long
Résultat bool