fun Int.utf8Size(): Int
Returns a number of bytes required to represent this code point in UTF-8 or -1 for invalid code point.