Files
sharpcompress/src/SharpCompress/Common/FilePart.cs

21 lines
478 B
C#
Raw Normal View History

using System.IO;
2015-12-30 11:19:42 +00:00
2022-12-20 15:06:44 +00:00
namespace SharpCompress.Common;
public abstract class FilePart
2015-12-30 11:19:42 +00:00
{
2025-10-14 10:20:04 +01:00
protected FilePart(ArchiveEncoding archiveEncoding)
{
ArchiveEncoding = archiveEncoding;
}
2022-12-20 15:06:44 +00:00
internal ArchiveEncoding ArchiveEncoding { get; }
2019-09-17 13:28:44 +02:00
internal abstract string? FilePartName { get; }
2022-12-20 15:06:44 +00:00
public int Index { get; set; }
2015-12-30 11:19:42 +00:00
2024-04-23 15:08:32 +01:00
internal abstract Stream? GetCompressedStream();
2022-12-20 15:06:44 +00:00
internal abstract Stream? GetRawStream();
internal bool Skipped { get; set; }
2019-09-17 13:28:44 +02:00
}