12345678910111213141516 |
- namespace XGame.Framework.Network
- {
- public interface IMsgCompressor
- {
- /// <summary>
- /// 压缩
- /// 结果替换原变量
- /// </summary>
- void Compress(ref byte[] bytes, ref int offset, ref int length);
- /// <summary>
- /// 解压
- /// 结果替换原变量
- /// </summary>
- void Decompress(ref byte[] bytes, ref int offset, ref int length);
- }
- }
|