← Docs
kotlin-stdlib / kotlin.io / java.io.Writer

Extensions for java.io.Writer

JVM
1.0

buffered

Returns a buffered writer wrapping this Writer, or this Writer itself if it is already buffered.

fun Writer . buffered (
bufferSize : Int = DEFAULT_BUFFER_SIZE
) : BufferedWriter
Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .