using System.Diagnostics.CodeAnalysis; namespace StardewModdingAPI.Web.Framework.Compression { /// Handles GZip compression logic. internal interface IGzipHelper { /********* ** Methods *********/ /// Compress a string. /// The text to compress. string CompressString(string text); /// Decompress a string. /// The compressed text. [return: NotNullIfNotNull("rawText")] string? DecompressString(string? rawText); } }