02-24-2022 06:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

Jogger
1
0
0
02-24-2022 06:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hey!
I was able to write the cbor sequence to a file and checking that all the data is ok. I use this idea...
Formally, a CBOR Sequence is a sequence of bytes that is recursively defined as either
- an empty (zero-length) sequence of bytes
- the sequence of bytes making up an encoded CBOR data item [RFC7049], followed by a CBOR Sequence.
In short, concatenating zero or more encoded CBOR data items generates a CBOR Sequence. (Consequently, concatenating zero or more CBOR Sequences also results in a CBOR Sequence.)
But I couldn't find a way to read the data in the file correctly. As I was unable to indicate that the file contains a cborseq, it can only read the first object.

0 REPLIES 0
