C# Класс NodeService.Zip

Provides functionality to zip and folder/Files into a *.zip file or memorystream.
Показать файл Открыть проект

Открытые методы

Метод Описание
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