writeCString

fun Memory.writeCString(offset: Int, str: String, charSet: Charset)