← Docs
kotlin-stdlib / kotlin.io.encoding / java.io.OutputStream

Extensions for java.io.OutputStream

JVM
1.8

encodingWith

Returns an output stream that encodes bytes using the specified base64 encoding and writes the result to this output stream.

fun OutputStream . encodingWith ( base64 : Base64 ) : OutputStream
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 .