Replies: 1 comment 1 reply
-
For that struct, since you don't have deku attributes on the fields and everything's standard, you can use mem::size_of. If you start using deku attributes on the fields, there is an open issue for that feature: #307 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
suppose this is the struct
how do i get the size of the struct's binary representation in number of bytes.
Beta Was this translation helpful? Give feedback.
All reactions