|
-
Aug 17th, 2009, 09:56 PM
#1
Thread Starter
Junior Member
Search for a hex byte in a file?
Hi, it's me again, sorry for asking another question, but I had made an app that opens a file and changes a hex byte then when I click another button it saves it.
I am now thinking of making an app that will change some hex bytes to something else, but the catch is that not every file will have some of the hex bytes that others will. Like I want it to search for 71, 13, 31, and 11, and change them to 15, but not all files will have say a 71 or some might not have a 13 or a 31... So I was thinking that I would need the app do a search for a hex byte in the file, is this possible? Thanks for any help!
Also, if there was a couple of bytes in a row that I needed to change, say F132, would I be able to search for all of that at once, and then change it to something like F133?
Last edited by iambowling247; Aug 17th, 2009 at 09:59 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|