Forwards argument to UnbufferedSocketStreamBase
Upon destruction, any pending writes are flushed to the socket.
Writes any pending data to the socket.
Reads data from the socket. The stream itself doesn't buffer reading because the OS already buffers when receiving on a streaming socket.
Write data to the stream, but buffer input so that only sufficiently large packets are sent.
Sets the size of the buffer. The default is 8192 bytes. If there is currently data in the buffer, it will be flushed.
Get the current buffer size. The default is 8192 bytes (8KB).
A stream that wraps a socket with buffered writes.