Problem with that is it only works(*) where the structure has len/data len/data; but the OP has len1/len2 data1/data2.
(*Barring playing games with relative or absolute positioning per AnomalousMonk ig's reply.)
In reply to Re^2: how to unpack a C struct with length array preceding data array
by BrowserUk
in thread how to unpack a C struct with length array preceding data array
by johnlumby
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |