summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/Compression/IGzipHelper.cs
blob: a000865e1e506603434b01c721d13b9254b4c7e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
namespace StardewModdingAPI.Web.Framework.Compression
{
    /// <summary>Handles GZip compression logic.</summary>
    internal interface IGzipHelper
    {
        /*********
        ** Methods
        *********/
        /// <summary>Compress a string.</summary>
        /// <param name="text">The text to compress.</param>
        string CompressString(string text);

        /// <summary>Decompress a string.</summary>
        /// <param name="rawText">The compressed text.</param>
        string DecompressString(string rawText);
    }
}