append

fun append(array: ByteArray, offset: Int = 0, len: Int = array.size - offset)

Appends a byte array slice (offset and len) to the current buffer


Appends a byte v to the buffer


fun append(vararg v: Byte)

Appends a sequence vararg of bytes v to the buffer


fun append(vararg v: Int): ByteArrayBuilder

Appends a sequence vararg of bytes v (represented as ints) to the buffer