-
|
Here's what I wrote so far--- |
Beta Was this translation helpful? Give feedback.
Answered by
paxcut
Jan 18, 2026
Replies: 1 comment 8 replies
-
|
this line is illegal: char buffer[9] = std::mem::read_string(i,9);that function returns a string (str) type instead, but note that the search values are not valid ascii string chars. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I wrote some sample code to show one way to use magic search. To try it open a new file, resize it to 16 bytes and copy paste the values from the #pragma example into the input file. Copy paste the pattern and run it. It should place two structs called ToPlace in the sequence found and one at the end of the file.