newString

fun newString(codePoints: IntArray, offset: Int, count: Int): String

Cover JDK 1.5 API. Create a String from an array of codePoints.

Return

a String representing the code points between offset and count

Parameters

codePoints

The code array

offset

The start of the text in the code point array

count

The number of code points

Throws

If an invalid code point is encountered

If the offset or count are out of bounds.