Pavel Kalvoda

Results 22 comments of Pavel Kalvoda

Gladly :) At the moment, the `cbor_load` function uses the streaming interface (`cbor_stream_decode`) that takes a bundle of callbacks as a parameters (`struct cbor_callbacks`). These callbacks define what to when...

Hi @mghicho, not really, but the current encoders can be used to encode e.g. an array or a map in a streaming manner by calling e.g. `cbor_encode_indef_array_start` and then encoding...

Yeah that would be great, I think e.g. examples/bazel would make sense. It is reasonable to start with the default value of the preprocessor defines (https://github.com/PJK/libcbor/blob/master/CMakeLists.txt#L20, except maybe `CBOR_CUSTOM_ALLOC =...

Thanks for changes and sorry about the delay, I'm somewhat overloaded these days. Looking at the Travis failure, I see ``` +./clang-format.sh /usr/bin/clang-format-8 +git status +grep 'nothing to commit, working...

Hmm, could be, that is unfortunate. I will try to take a look later this week

Do I understand it correctly that the *compiler* is crashing?

> > Do I understand it correctly that the _compiler_ is crashing? > > Yes. It doesn't happen when I just print the CBOR_VERSION (it means that the library is...

Ok, now I remember, size_t is sometimes used to represent the number of items (say in an array), not just bytes, under the assumption that since every item is at...

Hi @tobez , thanks for the report. libcbor's cmake never sets this, so this must be an issue with how cmake is configuring the build for your system. You can...

Partially resolved with #47 , but TODOs remain