> > Yep, I know this, but first decoder will get data in the ByteBuffer not in > > the IoBuffer... Should I perform such transformation before decoder will be > > called? > > You have 2 decoders in the chain ?
Yep, first one performs encryption/decryption of the traffic in case if its needed. In both cases input is ByteBuffer. > > In my code after reading data from IoBuffer I do nothing. Am I should added > > ioBuf.flip() in this case? > No, not in your code. It's fine as it is. Great, thanks a lot. Best Regards, Vladimir Sent from my phone, thus sorry for possible typos
