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