Add example/cbor-to-json

This commit is contained in:
Nigel Tao committed 2020-08-09 23:03:42 +10:00
1 parent 9dd8c32683
commit 0b7eaf291b
9 files changed
+1511 -1

No files matched your search

+2
View File
@@ -18,6 +18,8 @@ pub status "#unsupported recursion depth"
pri status "#internal error: inconsistent I/O"
pri status "#internal error: inconsistent token length"
pub const DECODER_WORKBUF_LEN_MAX_INCL_WORST_CASE : base.u64 = 0
// TOKEN_VALUE_MAJOR is the base-38 encoding of "cbor".
pub const TOKEN_VALUE_MAJOR : base.u32 = 0x0C_061D