Method | Description | |
---|---|---|
CanBeUnCompressed ( |
Checks if data can be uncompressed.
|
|
CanBeUnCompressed ( byte source, int minSize, int maxSize ) : bool |
Checks if data can be uncompressed
|
|
CanBeUnCompressed ( byte data, int offset, int minSize, int maxSize ) : bool |
Checks if data can be uncompressed
|
|
Compress ( |
Compresses data with LZ77
|
|
Compress ( |
Compresses data with LZ77
|
|
Compress ( byte data ) : byte[] |
Compresses data with LZ77
|
|
Compress ( byte source, int lenght ) : byte[] |
Compresses data with LZ77
|
|
Compress ( byte data, int index, int length ) : byte[] |
Compresses data with LZ77
|
|
CompressTo ( |
Compress data with LZ77
|
|
Decompress ( |
Decompresses LZ77 data
|
|
Decompress ( |
||
Decompress ( byte source, byte target ) : bool |
Decompresses LZ77 data
|
|
Decompress ( |
Decompresses LZ77 data
|
|
Decompress ( byte source ) : byte[] |
Decompresses LZ77 data
|
|
Decompress ( byte data, int offset ) : byte[] |
Decompresses LZ77 data
|
|
GetCompressedDataLenght ( |
Gets the lenght of the compressed data
|
|
GetCompressedDataLenght ( byte source ) : int |
Gets the lenght of the compressed data
|
|
GetCompressedDataLenght ( byte data, int offset ) : int |
Gets the lenght of the compressed data
|
|
Scan ( |
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
|
Method | Description | |
---|---|---|
Search ( byte source, int position, int lenght ) : int[] |
public static CanBeUnCompressed ( |
||
br | Stream where the compressed data is | |
offset | int | Offset of the compressed data in the stream |
minSize | int | |
maxSize | int | |
return | bool |
public static CanBeUnCompressed ( byte source, int minSize, int maxSize ) : bool | ||
source | byte | Pointer to beginning of data |
minSize | int | |
maxSize | int | |
return | bool |
public static CanBeUnCompressed ( byte data, int offset, int minSize, int maxSize ) : bool | ||
data | byte | Data with data to test |
offset | int | Offset of the data to test in data |
minSize | int | |
maxSize | int | |
return | bool |
public static Compress ( |
||
br | Stream to compress data from | |
lenght | int | Length of the data to compress |
return | byte[] |
public static Compress ( |
||
br | Stream to compress data from | |
offset | int | Offset of the data to compress |
lenght | int | Length of the data to compress |
return | byte[] |
public static Compress ( byte data ) : byte[] | ||
data | byte | Data to compress |
return | byte[] |
public static Compress ( byte source, int lenght ) : byte[] | ||
source | byte | Pointer to beginning of the data |
lenght | int | Lenght of the data to compress in bytes |
return | byte[] |
public static Compress ( byte data, int index, int length ) : byte[] | ||
data | byte | Data to compress |
index | int | Beginning offset of the data to compress |
length | int | Length of the data to compress |
return | byte[] |
public static CompressTo ( |
||
writer | Stream to write compressed data to | |
reader | Stream to compress data from | |
length | int | Amount of data to compress |
return | void |
public static Decompress ( |
||
br | Stream where the compressed data is | |
offset | int | Position of the compressed data |
destination | byte | Pointer to where uncompressed data goes |
return | bool |
public static Decompress ( |
||
input | ||
output | ||
return | bool |
public static Decompress ( byte source, byte target ) : bool | ||
source | byte | Pointer to compressed data |
target | byte | Pointer to where uncompressed data goes |
return | bool |
public static Decompress ( |
||
br | Stream where compressed data is | |
offset | int | Offset of the compressed data in the stream |
return | byte[] |
public static Decompress ( byte source ) : byte[] | ||
source | byte | Pointer to data to decompress |
return | byte[] |
public static Decompress ( byte data, int offset ) : byte[] | ||
data | byte | Data where compressed data is |
offset | int | Offset of the compressed data |
return | byte[] |
public static GetCompressedDataLenght ( |
||
br | The stream with data | |
offset | int | The position of the data in stream |
return | int |
public static GetCompressedDataLenght ( byte source ) : int | ||
source | byte | Pointer to the data to check |
return | int |
public static GetCompressedDataLenght ( byte data, int offset ) : int | ||
data | byte | Data where compressed data is |
offset | int | The position of the data |
return | int |
public static Scan ( |
||
br | Stream to scan | |
offset | int | |
amount | int | |
sizeMultible | int | |
minSize | int | |
maxSize | int | |
return | int[] |
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 | |
return | int[] |
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 | |
return | int[] |