The struct option has two drawbacks:
- you need to know the byte order of your device when decoding, some processors will use MSB and others LSB order resulting in different decoder functions.
- for some processors the compilers will align the structure members at word/double word boundaries wasting space and (as a result) airtime.