VAGSuite.EDC15CFileParser.MapContainsNegativeValues C# (CSharp) Method

MapContainsNegativeValues() private method

private MapContainsNegativeValues ( byte allBytes, SymbolHelper sh ) : bool
allBytes byte
sh SymbolHelper
return bool
        private bool MapContainsNegativeValues(byte[] allBytes, SymbolHelper sh)
        {
            for (int i = 0; i < sh.Length; i += 2)
            {
                int currval = Convert.ToInt32(allBytes[sh.Flash_start_address + i + 1]) * 256 + Convert.ToInt32(allBytes[sh.Flash_start_address + i]);
                if (currval > 0xF000) return true;
            }
            return false;
        }