toCodePoint

fun toCodePoint(high: Char, low: Char): Int

Converts the specified surrogate pair to its supplementary code point value. This method does not validate the specified surrogate pair. The caller must validate it using .isSurrogatePair if necessary.

Return

the supplementary code point composed from the specified surrogate pair.

Since

1.5

Parameters

high

the high-surrogate code unit

low

the low-surrogate code unit