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