Class Compressor
Inheritance
System.Object
Compressor
Assembly: SensusAndroid.dll
Syntax
public class Compressor : Object
Constructors
Compressor(Compressor.CompressionMethod)
Declaration
public Compressor(Compressor.CompressionMethod method)
Parameters
Methods
Compress(Byte[], Stream, CompressionLevel)
Declaration
public void Compress(byte[] bytesToCompress, Stream destinationStream, CompressionLevel compressionLevel)
Parameters
Type |
Name |
Description |
System.Byte[] |
bytesToCompress |
|
System.IO.Stream |
destinationStream |
|
System.IO.Compression.CompressionLevel |
compressionLevel |
|
Decompress(Stream)
Declaration
public byte[] Decompress(Stream compressedStream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
compressedStream |
|
Returns
Type |
Description |
System.Byte[] |
|