C# Class Nintenlord.Compressor.Compressions.Compression

Mostrar archivo Open project: Diegoisawesome/AwesomeMapEditor-old Class Usage Examples

Public Methods

Method Description
CanBeDecompressed ( byte data ) : bool
CanBeDecompressed ( byte data, int offset ) : bool
CanBeDecompressed ( byte data, int offset, int maxLength, int minLength ) : bool
Compress ( byte data ) : byte[]
Compress ( byte data, int offset ) : byte[]
Compress ( byte data, int offset, int length ) : byte[]
CompressedLength ( byte data ) : int
CompressedLength ( byte data, int offset ) : int
Compression ( CompressionOperation supportedModes, string fileExtensions ) : System

Constructs a new compression

Decompress ( byte data ) : byte[]
Decompress ( byte data, int offset ) : byte[]
DecompressedDataLenght ( byte data ) : int
DecompressedDataLenght ( byte data, int offset ) : int
Equals ( object obj ) : bool
GetHashCode ( ) : int
Scan ( byte data, int sizeMax, int sizeMin, int sizeModulus ) : int[]
Scan ( byte data, int offset, int sizeMax, int sizeMin, int sizeModulus ) : int[]
Scan ( byte data, int offset, int length, int sizeMax, int sizeMin, int sizeModulus ) : int[]
SupportsOperation ( CompressionOperation operation ) : bool
ToString ( ) : string

Method Details

CanBeDecompressed() public method

public CanBeDecompressed ( byte data ) : bool
data byte
return bool

CanBeDecompressed() public method

public CanBeDecompressed ( byte data, int offset ) : bool
data byte
offset int
return bool

CanBeDecompressed() public abstract method

public abstract CanBeDecompressed ( byte data, int offset, int maxLength, int minLength ) : bool
data byte
offset int
maxLength int
minLength int
return bool

Compress() public method

public Compress ( byte data ) : byte[]
data byte
return byte[]

Compress() public method

public Compress ( byte data, int offset ) : byte[]
data byte
offset int
return byte[]

Compress() public abstract method

public abstract Compress ( byte data, int offset, int length ) : byte[]
data byte
offset int
length int
return byte[]

CompressedLength() public method

public CompressedLength ( byte data ) : int
data byte
return int

CompressedLength() public abstract method

public abstract CompressedLength ( byte data, int offset ) : int
data byte
offset int
return int

Compression() public method

Constructs a new compression
public Compression ( CompressionOperation supportedModes, string fileExtensions ) : System
supportedModes CompressionOperation Operations supported by the compression
fileExtensions string Extensions of files where this compression is usually used
return System

Decompress() public method

public Decompress ( byte data ) : byte[]
data byte
return byte[]

Decompress() public abstract method

public abstract Decompress ( byte data, int offset ) : byte[]
data byte
offset int
return byte[]

DecompressedDataLenght() public method

public DecompressedDataLenght ( byte data ) : int
data byte
return int

DecompressedDataLenght() public abstract method

public abstract DecompressedDataLenght ( byte data, int offset ) : int
data byte
offset int
return int

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

Scan() public method

public Scan ( byte data, int sizeMax, int sizeMin, int sizeModulus ) : int[]
data byte
sizeMax int
sizeMin int
sizeModulus int
return int[]

Scan() public method

public Scan ( byte data, int offset, int sizeMax, int sizeMin, int sizeModulus ) : int[]
data byte
offset int
sizeMax int
sizeMin int
sizeModulus int
return int[]

Scan() public abstract method

public abstract Scan ( byte data, int offset, int length, int sizeMax, int sizeMin, int sizeModulus ) : int[]
data byte
offset int
length int
sizeMax int
sizeMin int
sizeModulus int
return int[]

SupportsOperation() public method

public SupportsOperation ( CompressionOperation operation ) : bool
operation CompressionOperation
return bool

ToString() public method

public ToString ( ) : string
return string