You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
what is the idiomatic way to parse chunk based binary formats (example)?
Is there a nice built-in way to pass in an extra self parameter, to accumulate the chunk contents into a struct instance?
For a chunk based file format that has only one level of chunk structure one could potentially parse the chunks as enum separately and then move the data to the instance of the struct. But the linked format has nested chunks and I have no idea how to approach this.
The text was updated successfully, but these errors were encountered:
Hello,
what is the idiomatic way to parse chunk based binary formats (example)?
Is there a nice built-in way to pass in an extra self parameter, to accumulate the chunk contents into a struct instance?
For a chunk based file format that has only one level of chunk structure one could potentially parse the chunks as enum separately and then move the data to the instance of the struct. But the linked format has nested chunks and I have no idea how to approach this.
The text was updated successfully, but these errors were encountered: