W3cubDocs

/Kotlin

append

Platform and version requirements: Native (1.3)
fun append(data: MutableData)

Appends data to the buffer.

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

Appends byte array to the buffer.

Platform and version requirements: Native (1.3)
fun append(data: COpaquePointer?, count: Int)

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

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.native.concurrent/-mutable-data/append.html