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