binary-streams / loggersoft.kotlin.streams / kotlin.Int / toUtf8

toUtf8

fun Int.toUtf8(buffer: ByteArray, offset: Int = 0): Int

Encodes this code point to UTF-8 and writes result into buffer starting from offset.