writeUtf8

expect abstract fun writeUtf8(string: String, start: Int = 0, endExclusive: Int = string.length)

Write string as UTF-8 encoded bytes to this sink starting at start index up to endExclusive index.

actual abstract fun writeUtf8(string: String, start: Int, endExclusive: Int)

Write UTF8-bytes of string to this sink starting at start index up to endExclusive index.