mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-09-22 23:15:20 +00:00
29 lines
613 B
C#
29 lines
613 B
C#
using System.IO;
|
|
|
|
namespace SharpCompress.Common.GZip
|
|
{
|
|
public class GZipVolume : Volume
|
|
{
|
|
public GZipVolume(Stream stream, Options options)
|
|
: base(stream, options)
|
|
{
|
|
}
|
|
|
|
#if !PORTABLE && !NETFX_CORE
|
|
public GZipVolume(FileInfo fileInfo, Options options)
|
|
: base(fileInfo.OpenRead(), options)
|
|
{
|
|
}
|
|
#endif
|
|
|
|
public override bool IsFirstVolume
|
|
{
|
|
get { return true; }
|
|
}
|
|
|
|
public override bool IsMultiVolume
|
|
{
|
|
get { return true; }
|
|
}
|
|
}
|
|
} |