-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Make cstruct iterable #26
Comments
Well, I ended up implementing a new function in mem_cstruct.py:
This returns a dictionary, which can then easily be converted into json later |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Just a thing for the wishlist: I would like to be able to parse binary data into a cstruct, and then convert it to e.g. a json element.
Currently though, the cstruct class isn't iterable.
If that would be added, it would be possible to convert generic objects to e.g. json and back, which is a pretty interesting feature.
Kind regards,
Arnout
The text was updated successfully, but these errors were encountered: