v1.8.10
  • Solutions
    • Multiplatform
    • Server-side
    • Data science
    • Android
  • Docs
  • Community
  • Teach
  • Play
    • Playground
    • Hands-on
    • Examples
    • Koans
← Docs
kotlin-stdlib / kotlin.native.concurrent / MutableData / append

append

Native
1.3
fun append(data: MutableData)
(source)

Appends data to the buffer.

Native
1.3
fun append(
    data: ByteArray,
    fromIndex: Int = 0,
    toIndex: Int = data.size)

(source)

Appends byte array to the buffer.

Native
1.3
fun append(data: COpaquePointer?, count: Int)
(source)

Appends C data to the buffer, if data is null or count is non-positive - return.

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Kotlin™ is protected under the Kotlin Foundation and licensed under the Apache 2 license.
Supported and developed by JetBrains