binary-streams / loggersoft.kotlin.streams / kotlin.ByteArray / hasUtf8At

hasUtf8At

fun ByteArray.hasUtf8At(offset: Int): Int

Returns bytes count of UTF-8 code point at offset or -1 if the valid code point wasn't found in that position.