01-06-2021 20:19
01-06-2021 20:19
I want to create an array of CBOR objects, and get them decoded at companion. After some tests, it seems that the CBOR library only supports TAG 0x98 + [1-byte array length]. I wonder if there is any limitation on this array length, OR, any length from 0 to 255 will be fine for the library.
Thank you!
Answered! Go to the Best Answer.
01-08-2021 05:40
01-08-2021 05:40
Just as an update, it looks like it's based on determinate length encoding. So the length can be 8 bytes, or uint64
01-08-2021 05:27
01-08-2021 05:27
I'm not sure of the limitations here, so if you've succeeded then I'd just go with that!
01-08-2021 05:40
01-08-2021 05:40
Just as an update, it looks like it's based on determinate length encoding. So the length can be 8 bytes, or uint64
01-08-2021 07:40
01-08-2021 07:40
It seems 255 is working fine with my test. Thank you very much!