open fun setString(pos: Int, str: String): Buffer
Sets the bytes at position pos in the Buffer to the value of str encoded in UTF-8.
The buffer will expand as necessary to accommodate any value written.
Return
open fun setString(pos: Int, str: String, enc: String): Buffer
Sets the bytes at position pos in the Buffer to the value of str encoded in encoding enc.
The buffer will expand as necessary to accommodate any value written.
Return