Hi,

In my decodable() and decode() methods I use relative get of ByteBuffer to
check data ready or not and return MessageDecoderResult.NEED_DATA when it is
not ready.

My question:
Should I care about the buffer's position/limit etc. before returning
MessageDecoderResult.NEED_DATA? My "get" changed the buffer's position,
right?

thx a lot!
-- 
View this message in context: 
http://www.nabble.com/A-question-about-implementing-MessageDecoder-tf3422797.html#a9539844
Sent from the mina dev mailing list archive at Nabble.com.

Reply via email to