System.Xml.SafeAsciiDecoder.GetChars C# (CSharp) Méthode

GetChars() public méthode

public GetChars ( byte bytes, int byteIndex, int byteCount, char chars, int charIndex ) : int
bytes byte
byteIndex int
byteCount int
chars char
charIndex int
Résultat int
        public override int GetChars( byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex ) {
            int i = byteIndex;
            int j = charIndex;
            while ( i < byteIndex + byteCount ) {
                chars[j++] = (char)bytes[i++];
            }
            return byteCount;
        }