Enhancement : Merge two cbor streams
Open
enhancement
- Dominant language
- C
- Stars
- 630
- Forks
- 222
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 1
Description
-- I am creating a new request as the previous question about 'multiple arrays' was closed.
Thanks for the reply. How about a cbor_encode_merge() function? It is essentially the same thing as you proposed. However this will be more generic. Sort of a strcat function; we can have two arrays managed separately in their own streams and can be merged later.
Let's assume stream 1 is open and stream 2 is closed, I would like to call something like
cbor_encode_merge(stream1, stream2)
which can copy the map from stream2 in to stream1's tail.
Contributor guide
Assessment
This issue has not been assessed yet.