1
0
mirror of synced 2024-12-04 20:08:00 +01:00
Switch-Toolbox/Switch_Toolbox_Library/Interfaces/FileFormatting/ICompressionFormat.cs

22 lines
476 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace Toolbox.Library
{
public interface ICompressionFormat
{
string[] Description { get; set; }
string[] Extension { get; set; }
bool Identify(Stream stream, string fileName);
bool CanCompress { get; }
Stream Decompress(Stream stream);
Stream Compress(Stream stream);
}
}