OpenCyphal / libudpard

A compact implementation of the Cyphal/UDP protocol in C for high-integrity real-time embedded systems
MIT License
10 stars 8 forks source link

Header serialization is platform-dependent #13

Closed pavel-kirienko closed 1 year ago

pavel-kirienko commented 1 year ago

The header serialization relies on memcpy():

https://github.com/OpenCyphal-Garage/libudpard/blob/bb86d0aca316da944ea4f6b9587350c3cb96adf5/libudpard/udpard.c#L466-L468