summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/Compression/IGzipHelper.cs
blob: e1ec9b6723fc39d82ad14bdc4ce6813e80288091 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#nullable disable

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);
    }
}