How to choose the variant record where id [whatever] ==0 ?
So far, it's impossible. And there's no "else" to match for everything else.
Thus a structure with several variant records, one of which can be all ==0, cannot be correctly matched AT ALL.
And since increment is always 1 byte, it cannot be correctly skipped either - ffe reading such a file loses the track of record offsets from the first zero record on.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
First field or offset is number 1.
How to choose the variant record where id [whatever] ==0 ?
So far, it's impossible. And there's no "else" to match for everything else.
Thus a structure with several variant records, one of which can be all ==0, cannot be correctly matched AT ALL.
And since increment is always 1 byte, it cannot be correctly skipped either - ffe reading such a file loses the track of record offsets from the first zero record on.
Do you mean that something like
id 3 "0"
does not work? Or could you give a real world example?