Home / cs-notes / Architecture / Components / Netty / Channel / AbstractNioByteChannel / NioByteUnsafe / read
- read
AbstractNioByteChannel.NioByteUnsafe
- final ChannelPipeline pipeline = pipeline();
- pipeline.fireChannelRead(byteBuf);
- pipeline.fireChannelReadComplete();
- closeOnRead(pipeline); (if close)