Beispiel #1
0
        public virtual IZipArchive ZipArchiveFromDocument(byte[] document, ZipArchiveMode mode = ZipArchiveMode.Read)
        {
            var stream = new MemoryStream(document);

            var archive = new ZipWrapper(stream, mode, true);

            return(archive);
        }
Beispiel #2
0
        public virtual IZipArchive ZipArchiveFromDocument( byte[] document, ZipArchiveMode mode = ZipArchiveMode.Read )
        {
            var stream = new MemoryStream( document );

            var archive = new ZipWrapper( stream, mode, true );

            return archive;
        }
Beispiel #3
0
        public virtual IZipArchive ZipArchiveFromStream(Stream stream, ZipArchiveMode mode = ZipArchiveMode.Read)
        {
            var archive = new ZipWrapper(stream, mode, true);

            return(archive);
        }
Beispiel #4
0
        public virtual IZipArchive ZipArchiveFromStream( Stream stream, ZipArchiveMode mode = ZipArchiveMode.Read )
        {
            var archive = new ZipWrapper( stream, mode, true );

            return archive;
        }