IWritableArchive.cs 385 B

123456789101112131415
  1. using System;
  2. using System.IO;
  3. using SharpCompress.Writers;
  4. namespace SharpCompress.Archives
  5. {
  6. public interface IWritableArchive : IArchive
  7. {
  8. void RemoveEntry(IArchiveEntry entry);
  9. IArchiveEntry AddEntry(string key, Stream source, bool closeStream, long size = 0, DateTime? modified = null);
  10. void SaveTo(Stream stream, WriterOptions options);
  11. }
  12. }