NIO bytebuffer to netty bytebuf

前端 未结 0 1381
花落未央
花落未央 2021-01-26 13:21

I try migrate code from NIO to netty

this.buf.flip();
this.buf.putShort((short)0);
final ByteBuffer b = this.buf.slice();
final short size = (short)(con.encrypt(b         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题