RE: How can I convert from InputStream to Byte[]

2009-01-13 Thread Jim Kellerman (POWERSET)
: RE: How can I convert from InputStream to Byte[] > > Well, you could wrap InputStream with either BufferedInputStream > (and use BufferedInputStream.read(byte[] b, int off, int len)) > or wrap InputStream with a DataInputStream (and use either > DataInputStream.read(byte[] b) or > D

RE: How can I convert from InputStream to Byte[]

2009-01-13 Thread Jim Kellerman (POWERSET)
Well, you could wrap InputStream with either BufferedInputStream (and use BufferedInputStream.read(byte[] b, int off, int len)) or wrap InputStream with a DataInputStream (and use either DataInputStream.read(byte[] b) or DataInputStream.read(byte[] b, int off, int len)) In either case above, if th