← 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
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .