append

fun append(data: MutableData)

Appends data to the buffer.


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

Appends byte array to the buffer.


fun append(data: COpaquePointer?, count: Int)

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