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
When using the FlagField it adds extra "unused" bits to the packet. Since this is intended to the a single bit, it would be nice to have this bitpacked to keep the 1 bit goal. Looks to be adding an entire 16bit word for the Flag Field
Brief Description
When using the FlagField it adds extra "unused" bits to the packet. Since this is intended to the a single bit, it would be nice to have this bitpacked to keep the 1 bit goal. Looks to be adding an entire 16bit word for the Flag Field
Version(s) encountered
Latest
Expected Behavior
field1=models.IntField16(bit_len=8, default_val=0)
field2=models.FlagField(default_val=False)
field3=models.IntField16(bit_len=6, default_val=12)
field4=models.FlagField(default_val=True)
Print = b'\x00\xe0'
Actual Behavior
Print = b'\x00\x00\x00\x0c\x00\x01'
System Details
The text was updated successfully, but these errors were encountered: