C# 클래스 NodeService.Zip

Provides functionality to zip and folder/Files into a *.zip file or memorystream.
파일 보기 프로젝트 열기: chris-tomich/Glyma

공개 메소드들

메소드 설명
ExtractZipFileFromZipStream ( Stream fileStream ) : ZipFile

Returns a package that can be traversed

GetPartStream ( ZipFile zipFile, ZipEntry zipEntry ) : Stream

비공개 메소드들

메소드 설명
CopyNonSeekableStream ( Stream source, Stream outputStream ) : void
CopyStream ( System sourceStream, System outputStream ) : void

Copies one filestream to another.

GetSeekableStream ( Stream sourceStream ) : Stream

메소드 상세

ExtractZipFileFromZipStream() 공개 정적인 메소드

Returns a package that can be traversed
public static ExtractZipFileFromZipStream ( Stream fileStream ) : ZipFile
fileStream Stream the memorystream containing the zip file.
리턴 ICSharpCode.SharpZipLib.Zip.ZipFile

GetPartStream() 공개 정적인 메소드

public static GetPartStream ( ZipFile zipFile, ZipEntry zipEntry ) : Stream
zipFile ICSharpCode.SharpZipLib.Zip.ZipFile
zipEntry ICSharpCode.SharpZipLib.Zip.ZipEntry
리턴 Stream