public interface InStream
InputStream
,
but with a narrower interface to make it easier to implement.Modifier and Type | Method and Description |
---|---|
int |
read(byte[] buf)
Reads
buf.length bytes from the input stream
and stores them in the supplied buffer. |
int 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 bytesIOException
- if an I/O error occursCopyright © 2024. All rights reserved.