How to get around strict aliasing when casting uint8_t buffer bytes as another type?

后端 未结 0 373
误落风尘
误落风尘 2021-02-06 09:23

I want to define a struct to map the bytes of packets received over a serial stream. The number of payload bytes in the packet is variable, and there\'s a 16-bit CRC after the p

相关标签:
回答
  • 消灭零回复
提交回复
热议问题