forked from intel/tinycbor
-
Notifications
You must be signed in to change notification settings - Fork 1
/
TODO
25 lines (23 loc) · 843 Bytes
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
==== To Do list for libcbor ====
=== General ===
* API review
* Benchmark
* Write examples
** Simple decoder
** Decoder to JSON
** Windowed encoding/decoding (limited memory)
=== Encoder ===
* Write API docs
* Add API for creating indeterminate-length arrays and maps
* Add API for creating indeterminate-length strings
* Add API for relaxing doubles to floats and to integers
* Add length-checking of the sub-containers (#ifndef CBOR_ENCODER_NO_USER_CHECK)
* Decide how to indicate number of bytes needed
** Suggestion: return negative number from the functions
=== Decoder ===
* Write functions not yet implemented
* Add API for stream-decoding strings
* Add API for checking known tags and simple types
* (unlikely) Add API for checking the pairing of a tag and the tagged type
* Write tests for error conditions
* Fuzzy-test the decoder