samcrow / canadensis

A Rust implementation of Cyphal
Apache License 2.0
44 stars 5 forks source link

About Major-General's song #6

Open pavel-kirienko opened 2 years ago

pavel-kirienko commented 2 years ago

https://github.com/samcrow/canadensis/blob/77068ceffac868c5b5bd91a19c04aee5d2878237/canadensis_udp/pyuavcan_publish_string.py#L63

No, it does not do anything. Payload is represented in fragments in order to reduce copying during its serialization and deserialization. Fragmenting bears no semantic information at all, maybe this fragment should be updated accordingly.