Thanks for the suggestion, I think this is as consice as I can make it
if tst, err := hex.DecodeString(string(bytdata[(j+1):(j+3)])); err == nil && (int)(tst[0]) == checkSum {