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); }
public static char[] ToChars(int codePoint) { return(UnicodeUtil.ToCharArray(new[] { codePoint }, 0, 1)); }