AlbLib.Texts.VisualEncoding.GetCharCount C# (CSharp) Méthode

GetCharCount() public méthode

public GetCharCount ( byte bytes, int index, int count ) : int
bytes byte
index int
count int
Résultat int
        public override int GetCharCount(byte[] bytes, int index, int count)
        {
            int c = 0;
            for(int i = 0; i < count; i++)
            {
                byte b = bytes[i+index];
                if(b2c.ContainsKey(b))c += 1;
            }
            return c;
        }