Documenting the question led me to approach it from the other direction, this is probably better as it avoids the string conversions, and may be the best way optimal:
if checkSum == 16*(int)bytdata[j+1])+(int)bytdata[j+2] {