ILogCompressor.cs 510 B

12345678910111213141516171819202122
  1. 
  2. namespace XGame.Framework.Logger
  3. {
  4. /// <summary>
  5. /// 数据压缩
  6. /// </summary>
  7. internal interface ILogCompressor
  8. {
  9. /// <summary>
  10. /// 压缩
  11. /// </summary>
  12. /// <param name="source"></param>
  13. /// <returns></returns>
  14. byte[] Compress(byte[] source);
  15. /// <summary>
  16. /// 解压缩
  17. /// </summary>
  18. /// <param name="source"></param>
  19. /// <returns></returns>
  20. byte[] Decompress(byte[] source);
  21. }
  22. }