public class SSLSocketOutputStream extends OutputStream
Modifier | Constructor and Description |
---|---|
protected |
SSLSocketOutputStream(SSLSocketImpl owner) |
Modifier and Type | Method and Description |
---|---|
void |
write(byte[] b,
int off,
int len)
Writes
count bytes from the byte array buffer starting at
position offset to this stream. |
void |
write(int b)
Writes a single byte to this stream.
|
close, flush, write
protected SSLSocketOutputStream(SSLSocketImpl owner)
public void write(int b) throws IOException
OutputStream
oneByte
is written to the stream.write
in class OutputStream
b
- the byte to be written.IOException
- if an error occurs while writing to this stream.public void write(byte[] b, int off, int len) throws IOException
OutputStream
count
bytes from the byte array buffer
starting at
position offset
to this stream.write
in class OutputStream
b
- the buffer to be written.off
- the start position in buffer
from where to get bytes.len
- the number of bytes from buffer
to write to this
stream.IOException
- if an error occurs while writing to this stream.