12345678910111213141516171819202122232425 |
- using System.IO;
- using SharpCompress.Readers;
- namespace SharpCompress.Common.GZip
- {
- public class GZipVolume : Volume
- {
- public GZipVolume(Stream stream, ReaderOptions options)
- : base(stream, options)
- {
- }
- #if !NO_FILE
- public GZipVolume(FileInfo fileInfo, ReaderOptions options)
- : base(fileInfo.OpenRead(), options)
- {
- options.LeaveStreamOpen = false;
- }
- #endif
- public override bool IsFirstVolume => true;
- public override bool IsMultiVolume => true;
- }
- }
|