public virtual IZipArchive ZipArchiveFromDocument(byte[] document, ZipArchiveMode mode = ZipArchiveMode.Read) { var stream = new MemoryStream(document); var archive = new ZipWrapper(stream, mode, true); return(archive); }
public virtual IZipArchive ZipArchiveFromDocument( byte[] document, ZipArchiveMode mode = ZipArchiveMode.Read ) { var stream = new MemoryStream( document ); var archive = new ZipWrapper( stream, mode, true ); return archive; }
public virtual IZipArchive ZipArchiveFromStream(Stream stream, ZipArchiveMode mode = ZipArchiveMode.Read) { var archive = new ZipWrapper(stream, mode, true); return(archive); }
public virtual IZipArchive ZipArchiveFromStream( Stream stream, ZipArchiveMode mode = ZipArchiveMode.Read ) { var archive = new ZipWrapper( stream, mode, true ); return archive; }