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

A helper function that takes payload fragments and returns a contiguous chunk of memory #40

Closed pavel-kirienko closed 10 months ago

pavel-kirienko commented 11 months ago
          > One missing feature is a trivial helper function that takes payload fragments and returns a contiguous chunk of memory instead (this is expensive both memory-wise and time-wise).

Do we have a ticket for this? I think almost all applications are going to want the contiguous chunk of memory and not the fragments, so we're kind of feature incomplete without this function.

Originally posted by @lydia-at-amazon in https://github.com/OpenCyphal-Garage/libudpard/issues/38#issuecomment-1640974174