← Docs
kotlin-stdlib / kotlin.io / java.io.InputStream / buffered

buffered

JVM
1.0
fun InputStream . buffered (
bufferSize : Int = DEFAULT_BUFFER_SIZE
) : BufferedInputStream

(source)

Creates a buffered input stream wrapping this stream.

Parameters

bufferSize - the buffer size to use.

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 .