public class InputStreamInStream extends Object implements InStream
InputStream
to be used as an InStream
Constructor and Description |
---|
InputStreamInStream(InputStream is) |
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. |
public InputStreamInStream(InputStream is)
public int 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 bytesIOException
- if an I/O error occursCopyright © 2024. All rights reserved.