Le 22/05/2018 à 11:17, rexxar a écrit : > Hi,Emmanuel > > Thank you very much for your Explanation and Suggest。But I still have > doubts about this : > > the IoBuffer.getHexDump() method do move the position while dumping the > content,but it > > recover it finally。It seems no other thread will operate the IoBuffer during > this period,right?
I was wrong, the getHexDump() method does not modify the buffer (if it does, its a bug and need to be fixed). I still strongly suggest you duplicate the buffer before doing anything with it, including dumping its content. -- Emmanuel Lecharny Symas.com directory.apache.org
pEpkey.asc
Description: application/pgp-keys
