Halyri - Mobiili
0.9.1
|
Class for static compression methods. More...
Static Public Member Functions | |
static byte[] | CompressGZip (byte[] sourceData, bool useOptimalCompression) |
Compresses the provided bytearray using the GZip algorithm provided by System.IO.Compression library. More... | |
static byte[] | DecompressGZip (byte[] sourceData) |
Decompresses the provided bytearray using the GZip algorithm provided by System.IO.Compression library. More... | |
Class for static compression methods.
<author>Veli-Mikko Puupponen</author> NOTICE: IO.Compression-library will not work, if the solution has Active Config set to any CPU. For phone, this should be ARM and for emulator, x86.
|
static |
Compresses the provided bytearray using the GZip algorithm provided by System.IO.Compression library.
sourceData | Data to be compressed |
useOptimalCompression | True, if using optimal compression method, otherwise using fastest |
|
static |
Decompresses the provided bytearray using the GZip algorithm provided by System.IO.Compression library.
sourceData | Data to be decompressed |