5
Does anyone know how to find more bytes after I found the byte sequence of my variable?
for example: in the file will look like this: 6261725610
I’ll look for that:
byte[] findBytes = { 0x62, 0x61, 0x72 };
and wanted to return this:
byte[] resultado = { 0x62, 0x61, 0x72, 0x56, 0x10 };
Taking advantage, how do I subtract the last byte?
for example this:
byte[] findBytes = { 0x62, 0x61, 0x72, 0x56, 0x10 };
had seen this:
byte[] findBytes = { 0x62, 0x61, 0x72, 0x56, 0x8 };
It’s java that Pedro?
– Jorge B.
sorry I forgot to specify...I’m doing in C#
– Pedro Henrique
This link might help: http://stackoverflow.com/questions/28224043/c-sharp-find-offset-of-byte-pattern-check-specific-byte-change-byte-export-pa
– Vera Rivotti