On May 3, 2006, at 8:20 PM, netsql wrote:
Can I just read the inputstream to a byte[], and close the stream (I get the inputstream from StreamIoHandler) and then wrap the bytebuffer arround it?
And then read fields one by one?

Don't use the StreamIoHandler then, as that just takes the ByteBuffer and makes an InputStream out of it.. Just get at the raw ByteBuffer directly by implementing IoHandler.messageReceived().
-pete

--
[EMAIL PROTECTED] - http://fotap.org/~osi


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to