C# Класс 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.
Наследование: DSDecmp.Formats.Nitro.NitroCFormat
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

Compress() публичный Метод

'Compresses' the given input stream using the NULL format.
public Compress ( System instream, long inLength, System outstream ) : int
instream System
inLength long
outstream System
Результат int

Decompress() публичный Метод

'Decompresses' the given input stream using the NULL format.
public Decompress ( System instream, long inLength, System outstream ) : long
instream System
inLength long
outstream System
Результат long

NullCompression() публичный Метод

Creates a new instance of the NULL-compression format.
public NullCompression ( ) : System
Результат System

Supports() публичный Метод

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
Результат bool