使用Java原语很容易将char代码转换为符号
int i = 65; char c = (char) i; // 'A'
如何做与Kotlin一样?
使用int.toChar()函数来做到这一点。
int.toChar()