netty学习总结(三)
摘要:
Netty开发中会遇到沾包、拆包问题,因此我们需要制定协议去读取数据,下面给出一个自定义协议Demo public class XDecoder extends ByteToMessageDecoder { static final int PACKAGER_SIZE = 220; private 阅读全文
posted @ 2020-02-14 18:19 请叫我西毒 阅读(533) 评论(0) 推荐(0) 编辑