binary-streams / loggersoft.kotlin.streams / validateUtf8Size

validateUtf8Size

fun validateUtf8Size(size: Int): Int

Validates the size of UTF-8 code point in bytes and if it is invalid throws CharacterCodingException.