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, writeBytespublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablepublic int readBytes(byte[] buf,
int start,
int count)
Streampublic int writeBytes(byte[] buf,
int start,
int count)
StreamIOException if an error prevented the write
operation from occurring.writeBytes in class Streambuf - the byte array to write data fromstart - the start position in the byte arraycount - the number of bytes to write