I need to know how to check bytes at an offset. I am using strings for hexes i.e string hexcode1 = "0000A0E1"; and the offset is int offset1 = 30030; how would i check if at offset1 it has hexcode1. please note I do know about filestreams and binarywriters/readers but do not know how to use them with strings. that is partly what i need help with.
I need to know how to check bytes at an offset. I am using
Share
This should do the trick. Using a binary reader, offset the file, then read the byte and convert to string, to compare against your current string.