Thiago Macieira
Thiago Macieira
That we could easily do, yes.
Right, something like `cbor_encode_encoded_item`.
Your code is not correct, unless you're certain that the buffer you got contains exactly one item. What error did you get?
You've got the right code. This prints 0 for me: ```c #include #include int main() { CborEncoder enc, array_enc; uint8_t buf[16]; cbor_encoder_init(&enc, buf, sizeof(buf), 0); int res = 0; res...
The way TinyCBOR was designed, the idea was that you shouldn't pay for extra checking of state that you had already checked. So I don't want to return an error...
Decoding your stream using the Qt example wrapper, I'm getting: ``` $ xxd -ps -r | ./cbordump --annotated bf # Map (indeterminate length) 64 # Text string length 4 0a...
I mentally ran this. The decoder whose output we see above is not using `cbor_value_map_find_value`. I'll add this to the unit test and see if there's a bug that needs...
Created #167 to track that particular issue. We still have value in this task: separate the macro used for the internal state checker assertions from the API verification checkers.
(oops, accidentally edited instead of quoting) > Ahh, the `auto` and `reinterpret_cast` are copied and pasted from the existing test cases. I normally avoid such things but was trying to...
Gah, Travis hasn't run yet... Need to find someone to write GitHub Actions workflow, though likely that'll be me.