How to modify bytes in a binary file with RunRev
Posted: Sat Jan 23, 2010 7:22 pm
Hi all,
I would like to know if it is possible to modify bytes from a binary file using runrev ?
What I want to do for example is ... I load a binary file (which is a pure binary files filled with bytes),
then once loaded into a buffer I want to modify the 4th byte (offset $4) from the value it currently has (let say $80) into another value (let say $81 hex value)
then save this buffer into a new binary file...
How would you achieve that ?
Any help is greatly appreciated.
Thanks.
I would like to know if it is possible to modify bytes from a binary file using runrev ?
What I want to do for example is ... I load a binary file (which is a pure binary files filled with bytes),
then once loaded into a buffer I want to modify the 4th byte (offset $4) from the value it currently has (let say $80) into another value (let say $81 hex value)
then save this buffer into a new binary file...
How would you achieve that ?
Any help is greatly appreciated.
Thanks.