C# Class AppUpdater.Utils.DataCompressor

显示文件 Open project: diogomafra/AppUpdater

Public Methods

Method Description
Compress ( byte data ) : byte[]
Compress ( Stream inputStream, Stream outputStream ) : void
Decompress ( byte data ) : byte[]
Decompress ( Stream inputStream, Stream outputStream ) : void

Method Details

Compress() public static method

public static Compress ( byte data ) : byte[]
data byte
return byte[]

Compress() public static method

public static Compress ( Stream inputStream, Stream outputStream ) : void
inputStream Stream
outputStream Stream
return void

Decompress() public static method

public static Decompress ( byte data ) : byte[]
data byte
return byte[]

Decompress() public static method

public static Decompress ( Stream inputStream, Stream outputStream ) : void
inputStream Stream
outputStream Stream
return void