skipBuffer
Constructor and Description |
---|
IS2S(java.io.InputStream is) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this I/O connection, releasing any associated resources.
|
int |
readBytes(byte[] buf,
int start,
int count)
Reads bytes from the stream.
|
int |
writeBytes(byte[] buf,
int start,
int count)
Writes bytes to the stream.
|
asInputStream, asOutputStream, asStream, asStream, skipBytes, wrapInputStream, wrapInputStreamToStream, write, writeBytes, writeBytes, writeBytes
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
public int readBytes(byte[] buf, int start, int count)
Stream
public int writeBytes(byte[] buf, int start, int count)
Stream
IOException
if an error prevented the write
operation from occurring.writeBytes
in class Stream
buf
- the byte array to write data fromstart
- the start position in the byte arraycount
- the number of bytes to write