buffered
Creates a buffered input stream wrapping this stream.
Parameters
buffer Size
the buffer size to use.
inline fun OutputStream.buffered(bufferSize: Int = DEFAULT_BUFFER_SIZE): BufferedOutputStream(source)
Creates a buffered output stream wrapping this stream.
Parameters
buffer Size
the buffer size to use.
Returns a buffered reader wrapping this Reader, or this Reader itself if it is already buffered.
Returns a buffered writer wrapping this Writer, or this Writer itself if it is already buffered.