plus

operator fun plus(other: Int): CodePoint(source)

Adds the specified integer other value to this code point.

Returns a new CodePoint with the code value equal to the sum of this code point's value and other. The operation is performed using modulo 0x10FFFF + 1 arithmetics, so that the resulting code is always in the valid code point range 0..0x10FFFF.

Since Kotlin

2.5

Return

A CodePoint representing the sum of this code point and other, wrapped within the valid range.

Parameters

other

The integer value to add to this code point.

See also