namespace AMWD.Common.Packing.Tar.Interfaces { /// /// Interface of a archive writer. /// public interface IArchiveDataWriter { /// /// Write bytes of data from to corresponding archive. /// /// The data storage. /// How many bytes to be written to the corresponding archive. int Write(byte[] buffer, int count); /// /// Gets a value indicating whether the writer can write. /// bool CanWrite { get; } } /// /// The writer delegate. /// /// The writer. public delegate void WriteDataDelegate(IArchiveDataWriter writer); }