copyBytes

fun copyBytes(b: ByteArray, off: Int, len: Int)

Replace the content of this builder with the provided bytes. Equivalent to calling .clear and then .append.