On May 25, 2006, at 10:03 AM, Johannes U. Jensen wrote:
I just started using MINA and noticed that you cannot just extract a string from a bytebuffer if it contains a null. It is possible to get a string with a maximum number of characters but I need an absolute number of characters even if it contains a null. It seems like a strange requirement to me that it has to end in null but are there any easy ways to ignore this or would it be easier to implement my own method?
I think ByteBuffer.get/setPrefixedString might work in your situation? -pete -- [EMAIL PROTECTED] - http://fotap.org/~osi
smime.p7s
Description: S/MIME cryptographic signature
