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

            Array.Copy(converted, 0, dst, dstIndex, converted.Length);

            return(converted.Length);
        }
Exemple #2
0
 public static char[] ToChars(int codePoint)
 {
     return(UnicodeUtil.ToCharArray(new[] { codePoint }, 0, 1));
 }