Conditional parsing? #830
Unanswered
Kein
asked this question in
Pattern Language Q&A
Replies: 1 comment 5 replies
-
Hey struct Header {
u8 encrypted;
u32 count;
u64 seeds[count];
if (!encrypted)
u128 chunks[32];
};
Header header @ 0x00; |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Consider the following
I only want to parse (and, consequently, to display) the data if specific condition is met and I'm failing to understand why the global variable, that is supposed to track the seeker position, cannot be used/operate inside scopes?
Beta Was this translation helpful? Give feedback.
All reactions