C# 클래스 Naos.Foundation.FileCompressionHelper

파일 보기 프로젝트 열기: vip32/Naos

공개 메소드들

메소드 설명
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).

메소드 상세

Compress() 공개 정적인 메소드

Compress the stream to a file (Gzip).
public static Compress ( Stream input, string destinationPath ) : void
input Stream the stream to compress
destinationPath string Path to the compressed file.
리턴 void

Compress() 공개 정적인 메소드

Compress the file (Gzip).
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

Decompress() 공개 정적인 메소드

Decompress the file (Gzip).
public static Decompress ( string sourcePath, Stream output ) : void
sourcePath string Path to the file to decompress.
output Stream
리턴 void

Decompress() 공개 정적인 메소드

Decompress the file (Gzip).
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