Compat

object Compat

Functions

assert
Link copied to clipboard
common
inline fun assert(condition: Boolean, messageProducer: () -> String = { "" })
charCount
Link copied to clipboard
common
fun charCount(char: Int): Int
codePointAt
Link copied to clipboard
common
fun codePointAt(seq: CharSequence, index: Int): Int
codePointBefore
Link copied to clipboard
common
fun codePointBefore(seq: CharSequence, index: Int): Int
codePointToString
Link copied to clipboard
common
fun codePointToString(c: Int): String
equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
forEachCodePoint
Link copied to clipboard
common
fun CharSequence.forEachCodePoint(f: (Int) -> Unit)
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
offsetByCodePoints
Link copied to clipboard
common
fun offsetByCodePoints(seq: CharSequence, index: Int, codePointOffset: Int): Int
toCodePoint
Link copied to clipboard
common
fun toCodePoint(high: Char, low: Char): Int
toString
Link copied to clipboard
common
open fun toString(): String