libcbor
libcbor copied to clipboard
CBOR protocol implementation for C
Currently cbor_encode_half encodes all NaN as 0x007e00, losing the up to 10 data bits in the significant that could preserved. I believe this is a bug in the original implementation...
Since #206, we don't need to run appveyor tests independently. Wee should also add some more recent MSVC versions
The behavior of NaN for half-precision float is not consistent with single/double-float. - _Decoding_: if compiled on Visual Studio (confirmed on v14,15,17), a sign bit (signaling) of half-float NaN returned...
See https://github.com/PJK/libcbor/issues/194
In increasing order of usefulness: - Add a full example (+ test) - Provide a ready to use "libcbor.BUILD" - Use Bazel natively (alongside cmake) - We would have to...
Cloud you add example CBOR to JSON convert?
**Describe the bug** When I try to preallocate the map structure as ```cbor_item_t* root = cbor_new_definite_map(2);``` I receive the following error: ```In function ‘cbor_map_size’: lto1: internal compiler error: Segmentation fault...
Add two functions in the library: - `cbor_equal`: compare two cbor items content and return true if type, metadata and data are the same - `cbor_map_get`: return the value corresponding...
http://www.iana.org/assignments/cbor-tags/cbor-tags.xhtml