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
I am trying to describe 8B word as a bitfield with multiple fields in it.
The problem is that some of the fields in it are bitfields as well.
When I try to nest bitfields inside a struct it's size becomes 10 bytes instead of 8, so the only way
to deal with it is use a single bitfield and ignore valid decoding of inner bitfields.
Is there any existing pattern that deals with similar problem?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
I am trying to describe 8B word as a bitfield with multiple fields in it.
The problem is that some of the fields in it are bitfields as well.
When I try to nest bitfields inside a struct it's size becomes 10 bytes instead of 8, so the only way
to deal with it is use a single bitfield and ignore valid decoding of inner bitfields.
Is there any existing pattern that deals with similar problem?
All reactions