File size: 553 Bytes
fab29d7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using System.IO;

namespace VersOne.Epub.Environment
{
    /// <summary>
    /// Represents a compressed file within a ZIP archive.
    /// </summary>
    public interface IZipFileEntry
    {
        /// <summary>
        /// Gets the uncompressed size of the entry in the ZIP archive.
        /// </summary>
        long Length { get; }

        /// <summary>
        /// Opens the entry from the ZIP archive.
        /// </summary>
        /// <returns>The stream that represents the contents of the entry.</returns>
        Stream Open();
    }
}