FilePart.cs 502 B

1234567891011121314151617181920
  1. using System.IO;
  2. namespace SharpCompress.Common
  3. {
  4. public abstract class FilePart
  5. {
  6. protected FilePart(ArchiveEncoding archiveEncoding)
  7. {
  8. ArchiveEncoding = archiveEncoding;
  9. }
  10. internal ArchiveEncoding ArchiveEncoding { get; }
  11. internal abstract string FilePartName { get; }
  12. internal abstract Stream GetCompressedStream();
  13. internal abstract Stream GetRawStream();
  14. internal bool Skipped { get; set; }
  15. }
  16. }