Method | Description | |
---|---|---|
Compress ( Byte original, int compressionLevel ) : Byte[] |
Compress the data using the specific compression level
|
|
Uncompress ( Byte compressedData, int estimatedUncompressedSize ) : Byte[] |
Uncompress the data
|
public static Compress ( Byte original, int compressionLevel ) : Byte[] | ||
original | Byte | The data to be compressed |
compressionLevel | int | The compression level, 0-9 where 0 mean no compression at all |
return | Byte[] |
public static Uncompress ( Byte compressedData, int estimatedUncompressedSize ) : Byte[] | ||
compressedData | Byte | The compressed data |
estimatedUncompressedSize | int | The estimated size fo the uncompress data. Must be large enough to hold the decompressed data. |
return | Byte[] |