Are padding field names necessary?
sprout42 opened this issue · 3 comments
sprout42 commented
Is it necessary to have a field name for padding elements?
tjdevries commented
One might want to assert
assert len(MyMessage.pad_2) == 2
tjdevries commented
Not sure why exactly, but I could see it happening.
sprout42 commented
The pad fields just return None
when the element is "unpacked" currently. All the unpack function does is consume bytes.