C# Класс Nintenlord.GBA.Compressions.Malias2

Показать файл Открыть проект

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

Метод Описание
Decompress ( byte source, byte target ) : bool

Decompresses Malias2 data

Decompress ( byte source ) : byte[]

Decompresses Malias2 data

Decompress ( byte data, int offset ) : byte[]

Decompresses Malias2 data

Scan ( BinaryReader br, int offset, int amount, int sizeMultible, int minSize, int maxSize ) : int[]

Scans the stream for potential LZ77 compressions

Scan ( byte pointer, int amount, int sizeMultible, int minSize, int maxSize ) : int[]

Scans an area in memory for potential LZ77 compressions

Scan ( byte data, int offset, int amount, int sizeMultible, int minSize, int maxSize ) : int[]

Scans the data for potential LZ77 compressions

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

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

Decompresses Malias2 data
public static Decompress ( byte source, byte target ) : bool
source byte Pointer to compressed data
target byte Pointer to where uncompressed data goes
Результат bool

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

Decompresses Malias2 data
public static Decompress ( byte source ) : byte[]
source byte Pointer to data to decompress
Результат byte[]

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

Decompresses Malias2 data
public static Decompress ( byte data, int offset ) : byte[]
data byte Data where compressed data is
offset int Offset of the compressed data
Результат byte[]

Scan() публичный статический Метод

Scans the stream for potential LZ77 compressions
public static Scan ( BinaryReader br, int offset, int amount, int sizeMultible, int minSize, int maxSize ) : int[]
br System.IO.BinaryReader Stream to scan
offset int
amount int
sizeMultible int
minSize int
maxSize int
Результат int[]

Scan() публичный статический Метод

Scans an area in memory for potential LZ77 compressions
public static Scan ( byte pointer, int amount, int sizeMultible, int minSize, int maxSize ) : int[]
pointer byte Pointer to start of area to scan
amount int Size of the area to scan in bytes
sizeMultible int
minSize int
maxSize int
Результат int[]

Scan() публичный статический Метод

Scans the data for potential LZ77 compressions
public static Scan ( byte data, int offset, int amount, int sizeMultible, int minSize, int maxSize ) : int[]
data byte Data to scan
offset int Starting offset of are to scan
amount int Size of the area to scan
sizeMultible int
minSize int
maxSize int
Результат int[]