Метод | Описание | |
---|---|---|
Compress ( Stream input, string destinationPath ) : void |
Compress the stream to a file (Gzip).
|
|
Compress ( string sourcePath, string destinationPath = null ) : void |
Compress the file (Gzip).
|
|
Decompress ( string sourcePath, Stream output ) : void |
Decompress the file (Gzip).
|
|
Decompress ( string sourcePath, string destinationPath = null ) : void |
Decompress the file (Gzip).
|
public static Compress ( Stream input, string destinationPath ) : void | ||
input | Stream | the stream to compress |
destinationPath | string | Path to the compressed file. |
Результат | void |
public static Compress ( string sourcePath, string destinationPath = null ) : void | ||
sourcePath | string | Path to the file to compress. |
destinationPath | string | Path to the compressed file. |
Результат | void |
public static Decompress ( string sourcePath, Stream output ) : void | ||
sourcePath | string | Path to the file to decompress. |
output | Stream | |
Результат | void |
public static Decompress ( string sourcePath, string destinationPath = null ) : void | ||
sourcePath | string | Path to the file to decompress. |
destinationPath | string | Path to the decompressed file. |
Результат | void |