
namespace XGame.Framework.Logger
{
    /// <summary>
    /// 数据压缩
    /// </summary>
    internal interface ILogCompressor
    {
        /// <summary>
        /// 压缩
        /// </summary>
        /// <param name="source"></param>
        /// <returns></returns>
        byte[] Compress(byte[] source);
        /// <summary>
        /// 解压缩
        /// </summary>
        /// <param name="source"></param>
        /// <returns></returns>
        byte[] Decompress(byte[] source);
    }
}
