Home » Java » java – PooledUnsafeDirectByteBuf-Exceptionshub

java – PooledUnsafeDirectByteBuf-Exceptionshub

Posted by: admin February 25, 2020 Leave a comment


So I am new with Netty and I was creating a simple packet sender and receiver using pipelines and channels.

I managed to get it working but when I sent a packet object I made, on the receiving side when I print the object to console, it says this PooledUnsafeDirectByteBuf(ridx: 0, widx: 47, cap: 1024).

The packet class does implement a Serializable.

How do I fix this?

enter image description here

How to&Answers: