示例#1
0
        public static int ToChars(int codePoint, char[] dst, int dstIndex)
        {
            var converted = Unicode.ToCharArray(new[] { codePoint }, 0, 1);

            Array.Copy(converted, 0, dst, dstIndex, converted.Length);
            return(converted.Length);
        }
示例#2
0
 public static char[] ToChars(int codePoint)
 {
     return(Unicode.ToCharArray(new[] { codePoint }, 0, 1));
 }