Loop to swap data around in Data Processor? #1608
Unanswered
clemarescx
asked this question in
Get Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
thanks a lot for ImHex! Not sure if I'm having skill issues with the Data Processor - I'm new to node-based scripting - or if it's possible at all, but here goes:
I need to preprocess binary data as follow:
Example:
should become
The equivalent in a pseudo C# code would be:
I see that there are node functions that I could use like Slice and Reverse, but I don't know how to look back to read from the Read buffer or a data buffer in chunks with an incremented offset... Or how to loop at all in general.
Any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions