Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is there a way to work with a cbor sequence?

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.

Best Answer
0 Votes
0 REPLIES 0