Replies: 1 comment 3 replies
-
Some other prior art, https://developer.apple.com/documentation/foundation/data also allows non-contiguous regions |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently mcap::Writer provides an API where the message body is a single contiguous slice. This forces the client to create a new byte array if the original message contains multiple slices. For example, see zenoh::Sample whose payload can consist of non-contiguous data slices.
The proposed API can follow the existing pattern used by attachment:
Beta Was this translation helpful? Give feedback.
All reactions