public class InputStreamInStream extends Objectimplements InStream
InputStream to be used as an
InStream
| Constructor and Description |
|---|
InputStreamInStream(InputStream
|
public InputStreamInStream(InputStreamis)
public void read(byte[] buf)
throws IOException
InStream
buf.length bytes from the input stream and stores them in the supplied buffer.
read in interface
InStream
buf - the buffer to receive the bytes
IOException - if an I/O error occurs