Properties
The maximum value of a Unicode code point. Kotlin/Native specific.
The maximum value of a Unicode high-surrogate code unit.
The maximum value of a Unicode high-surrogate code unit.
The maximum value of a Unicode low-surrogate code unit.
The maximum value of a Unicode low-surrogate code unit.
The minimum value of a Unicode code point. Kotlin/Native specific.
The minimum value of a Unicode high-surrogate code unit.
The minimum value of a Unicode high-surrogate code unit.
The minimum value of a Unicode low-surrogate code unit.
The minimum value of a Unicode low-surrogate code unit.
The minimum value of a supplementary code point, \u0x10000
. Kotlin/Native specific.
The number of bytes used to represent a Char in a binary form.
The number of bytes used to represent a Char in a binary form.
Functions
Checks if the codepoint specified is a supplementary codepoint or not.
Converts the codepoint specified to a char array. If the codepoint is not supplementary, the method will return an array with one element otherwise it will return an array A with a high surrogate in A0 and a low surrogate in A1.
Converts a surrogate pair to a unicode code point. Doesn't validate that the characters are a valid surrogate pair.