public interface InStream
InputStream, but with a narrower interface to make it easier to implement.
| Modifier and Type | Method and Description |
|---|---|
void |
read(byte[] buf)
Reads
buf.length bytes from the input stream and stores them in the supplied buffer.
|
void read(byte[] buf) throws IOException
buf.length bytes from the input stream and stores them in the supplied buffer.
buf - the buffer to receive the bytes
IOException - if an I/O error occurs