mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-10-04 20:59:18 +00:00
22 lines
532 B
C#
22 lines
532 B
C#
using System.IO;
|
|
|
|
namespace SharpCompress.Common
|
|
{
|
|
public abstract class FilePart
|
|
{
|
|
protected FilePart(ArchiveEncoding archiveEncoding)
|
|
{
|
|
ArchiveEncoding = archiveEncoding;
|
|
}
|
|
|
|
internal ArchiveEncoding ArchiveEncoding { get; }
|
|
|
|
internal abstract string FilePartName { get; }
|
|
public int Index { get; set; }
|
|
|
|
internal abstract Stream GetCompressedStream();
|
|
internal abstract Stream? GetRawStream();
|
|
internal bool Skipped { get; set; }
|
|
}
|
|
}
|