private unsafe static int GetNormalizedStringLength(int ch) { int num = (int)Normalization.charMapIndex[NormalizationTableUtil.MapIdx(ch)]; int num2 = num; while (Normalization.mappedChars[num2] != 0) { num2++; } return(num2 - num); }
private unsafe static int CharMapIdx(int cp) { return((int)Normalization.charMapIndex[NormalizationTableUtil.MapIdx(cp)]); }