Thiago Macieira | 841aa57 | 2015-05-08 18:47:31 -0700 | [diff] [blame^] | 1 | ==== To Do list for libcbor ==== |
| 2 | === General === |
| 3 | * API review |
| 4 | * Benchmark |
| 5 | * Write examples |
| 6 | ** Simple decoder |
| 7 | ** Decoder to JSON |
| 8 | ** Windowed encoding/decoding (limited memory) |
| 9 | |
| 10 | === Encoder === |
| 11 | * Write API docs |
| 12 | * Add API for creating indeterminate-length arrays and maps |
| 13 | * Add API for creating indeterminate-length strings |
| 14 | * Add API for relaxing doubles to floats and to integers |
| 15 | * Add length-checking of the sub-containers (#ifndef CBOR_ENCODER_NO_USER_CHECK) |
| 16 | * Decide how to indicate number of bytes needed |
| 17 | ** Suggestion: return negative number from the functions |
| 18 | |
| 19 | === Decoder === |
| 20 | * Write functions not yet implemented |
| 21 | * Add API for stream-decoding strings |
| 22 | * Add API for random-accessing elements of a map |
| 23 | * Add API for checking known tags and simple types |
| 24 | * (unlikely) Add API for checking the pairing of a tag and the tagged type |
| 25 | * Write tests for error conditions |
| 26 | * Fuzzy-test the decoder |