copyChars

fun copyChars(text: CharSequence?, off: Int = 0, len: Int = text!!.length)
fun copyChars(text: CharArray?, off: Int, len: Int)

Replace the content of this buffer with UTF-8 encoded bytes that would represent the provided text.