Netty的UnpooledDirectByteBuf在NIO的DirectByteBuf上采用组合的方式进行了封装,屏蔽了对程序员不友好的地方,并使其符合Netty的ByteBuf体系。使用与Unpoole
UnpooledDirectByteBuf
DirectByteBuf
ByteBuf
Unpoole