mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-14 21:23:38 +00:00
20 lines
521 B
C#
20 lines
521 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; }
|
|
|
|
public virtual bool SupportsMultiThreading => false;
|
|
}
|