Open Manu-sh opened 2 years ago
https://github.com/cose-wg/COSE-C/blob/97d1805e71b7a6770093c5e6790d46611680d563/src/cbor.cpp#L154
I have tried to clone a node that contains an array (CN_CBOR_ARRAY) as child using cn_cbor_clone() but sadly it doesn't work, there is another way to take a copy of the underlying cn_cbor object?
CN_CBOR_ARRAY
cn_cbor_clone()
cn_cbor
https://github.com/cose-wg/COSE-C/blob/97d1805e71b7a6770093c5e6790d46611680d563/src/cbor.cpp#L154
I have tried to clone a node that contains an array (
CN_CBOR_ARRAY
) as child usingcn_cbor_clone()
but sadly it doesn't work, there is another way to take a copy of the underlyingcn_cbor
object?