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?
.V

On 5/3/06, peter royal <[EMAIL PROTECTED]> wrote:

On May 3, 2006, at 1:30 PM, netsql wrote:
> How do I take an InputStream and put it into a butebuffer so that I
> can read
> the fileds?

Copy your InputStream into a ByteArrayOutputStream, and then you can
copy the resulting byte[] into a ByteBuffer.

Of course, what are you trying to really accomplish?
-pete

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







--
[EMAIL PROTECTED]

Reply via email to