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