hexed – commands insert & remove
A small update with 2 new commands, insert and remove, having been added to hexed. Insert first moves any data at the end of the file then inserts the bytes from a buffer and removes deletes bytes from the buffer.
The Command List
Inserts bytes in the file at the destination, repeating the bytes for a number of times.
-i 100 10 01 02 03
This will insert the bytes 0x01 0x02 0x03 at 0x100 16 times.
Removes a number of bytes from the file starting at the source.
-r 10 100
Removes 0x100 bytes from the file at 0x10 to 0x110.