seb-win-refactoring/SebWindowsConfig/Utilities/IFileCompressor.cs

21 lines
542 B
C#

using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
namespace SebWindowsConfig.Utilities
{
public interface IFileCompressor
{
string CompressAndEncodeFile(string filename);
string CompressAndEncodeIcon(Icon icon);
string CompressAndEncodeFavicon(Uri uri);
string CompressAndEncodeDirectory(string path, out List<string> containingFileNames);
string DecompressDecodeAndSaveFile(string base64, string filename, string subdirectory);
MemoryStream DeCompressAndDecode(string base64);
}
}