GetCanonicalHangul() private static method

private static GetCanonicalHangul ( int s, int buf, int bufIdx ) : bool
s int
buf int
bufIdx int
return bool
Ejemplo n.º 1
0
 public unsafe static void GetCanonical(int c, int[] buf, int bufIdx)
 {
     if (!Normalization.GetCanonicalHangul(c, buf, bufIdx))
     {
         int num = Normalization.CharMapIdx(c);
         while (Normalization.mappedChars[num] != 0)
         {
             buf[bufIdx++] = Normalization.mappedChars[num];
             num++;
         }
         buf[bufIdx] = 0;
     }
 }