Added finishNettyBuffer

This commit is contained in:
Collin Smith 2020-06-20 12:49:17 -07:00
parent 5c4c06d47e
commit d672768495

View File

@ -83,6 +83,7 @@ public class Client extends ApplicationAdapter {
Connection.startConnection(builder);
int dataOffset = Connection.endConnection(builder);
int offset = Netty.createNetty(builder, NettyData.Connection, dataOffset);
Netty.finishNettyBuffer(builder, offset);
ByteBuf byteBuf = Unpooled.wrappedBuffer(builder.dataBuffer());
ctx.writeAndFlush(byteBuf);