Re: Editing a hex file?
- Posted by fizzpopsoft May 28, 2013
- 1198 views
Hi,
hexadecimal is a 2 char representation of a single byte (8 bits) represented as 00 to FF.
With Derek's sample, this should be straightforward, but if a user is expected to enter the replacement values,
I suggest that you validate the permissible hex digits "000000" to "FFFFFF" and let the user know when
he has attempted something outside of that range, before attempting the replace.
HTH!