Yes you're right. About everything ;). I should maybe have made it clearer that I was stating my understanding of x's behaviour, rather than an absolute truth :).
For the X8 error, @0 might work better. But at that point, if you can't at least rely on the data to have the correct length, it might be easier to just read chunk by chunk, maybe even dividing each chunk into several unpacks.
In reply to Re^5: Seeking with 'x' in unpack and out of bounds reads
by Eily
in thread Seeking with 'x' in unpack and out of bounds reads
by mxb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |