Solutions
Multiplatform
Server-side
Data science
Android
Docs
API
APIs overview
Standard library (stdlib)
Test library (kotlin.test)
Coroutines (kotlinx.coroutines)
Serialization (kotlinx.serialization)
Kotlin I/O library (kotlinx-io)
Date and time (kotlinx-datetime)
JVM Metadata (kotlin-metadata-jvm)
Kotlin Gradle plugins
Ktor
Community
Teach
Play
Playground
Koans
kotlinx-io
Toggle table of contents
0.8.0
common
Platform filter
common
Switch theme
Search in API
kotlinx-io
kotlinx-io-core
/
kotlinx.io
/
Buffer
/
emit
emit
open
override
fun
emit
(
)
(
source
)
This method does not affect the buffer's content as there is no upstream to write data to.