splitUTF32Number

external fun splitUTF32Number(code: Int): Array<Int>?

Split a code point above U+FFFF into a UTF-16 surrogate pair.

Return

[first, second], or null if the code point fits in UTF-16.