OutputStream for AFSocket, etc.
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | Returns: The number of bytes transferred.The in)InputStream to transfer from.Reads all bytes from the given input stream and writes the bytes to this output stream in the order that they are read. |
| AFOutputStream | back to summary |
|---|---|
| pack-priv AFOutputStream() | |
| transferFrom | back to summary |
|---|---|
| public long transferFrom(InputStream in) throws IOException Reads all bytes from the given input stream and writes the bytes to this output stream in the
order that they are read. On return, this input stream will be at end of stream. This method
does not close either stream.
This method effectively is the reverse notation of
| |