I have a binary file, where are a few values what should be changed.
To be more exact, at two part of the file, in the beginning, there are two HEX values
66 73 69 6D 35 2E 36 39
what should be changed to
4D 53 57 49 4E 34 2E 31
How could I do this async, and as fast as possible? I’ve got to the point where I read the whole file into a byte[] array, but this class has no search or replace feature.
Here is a method I wrote which you can use to find where in your
byte[]the bytes are that you are trying to find.