- bufferSize
- Buffer size for the bound streams
- inputStream
- Returns the input stream, which is used to read data written on the outputStream.
- outputStream
- Returns the output stream, which is used to write data that will later be read on the inputStream.
This creates a pair of streams that are linked to each other with the specified bufferSize.
Data written to the outputStream will be made available on the inputStream.