Replies: 2 comments
-
This is not a bug in binrw. modular_bitfield, which is processing the struct first, transforms the struct to using an array of bytes internally. Once it's an array of bytes, any endianess information is opaque to binrw, and cannot be acted upon. Your available options:
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the clarification. Yes, I understand it's related more to |
Beta Was this translation helpful? Give feedback.
-
I noticed that while parsing a DNS message header:
It seems the endianess of the natural multi-byte integral types is ignored:
Fails with:
Apparently
modular_bitfield
does not have any handling of endianness and that's why I face the issue.Can you please do something about it? Thanks for help!
Beta Was this translation helpful? Give feedback.
All reactions