I have a char array where I want to check bytes 5-16 against a given string, for the purpose of identifying a product I'm communicating with.
If the amount of characters were smaller, I'd just use an "if byte[n] == 0x??" check. But with 11 bytes, this seems a bit brutal. Is there a more elegant way to do this?