append

Native
1.3
fun append(data: MutableData)

Appends data to the buffer.

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

Appends byte array to the buffer.

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.