This repository has been archived on 2026-09-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Thiago Macieira 497066ee87 Encoder: Fix off-by-one error encoding negative numbers
The documentation said we encoded the negative value equivalent to the
passed absolute value. That means encode_number() requires the
subtraction.

This commit takes the opportunity to unit-test the rest of the integer
API in the parser.

Signed-off-by: Thiago Macieira <thiago.macieira@intel.com>
2018-01-23 10:36:41 -08:00
2017-11-13 19:25:56 -08:00
2016-08-04 14:25:32 -07:00
2016-07-07 20:40:13 -07:00
2017-07-26 10:29:17 -07:00
2017-01-18 15:47:32 -08:00
2017-12-06 18:25:51 -08:00

Concise Binary Object Representation (CBOR) Library
---------------------------------------------------

To build TinyCBOR:

  make

If you want to change the compiler or pass extra compiler flags:

  make CC=clang CFLAGS="-m32 -Oz" LDFLAGS="-m32"

Documentation: https://intel.github.io/tinycbor/current/

S
Description
[ARCHIVE] GOLEM lab historic — frozen 2026-09-06
Readme MIT
891 KiB
Languages
C 50.3%
C++ 45.9%
CMake 2.1%
Perl 1.3%
Shell 0.3%
Other 0.1%