Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omnet/blob/main/om/cbor/test/vectors/rfc8949-appA.txt # omnet aien-dev/omnet Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omnet / om / cbor / test / vectors / rfc8949-appA.txt` 91 lines ยท 3265 bytes Raw Blame History 1 # RFC 8949 Appendix A, Table 6 "Examples of Encoded CBOR Data Items", every row in order. 2 # Source: https://www.rfc-editor.org/rfc/rfc8949.txt, fetched 2026-10-25, sha256 3 # `f1164a5b31a39350ad46abe29b83575eb933ca6c45366989c118b6b1058a214a`. RFC text Copyright (c) 2020 IETF Trust and the 4 # persons identified as the document authors; the encoded examples are reproduced as test data under 5 # the IETF Trust Legal Provisions (https://trustee.ietf.org/license-info). Notice: rfc8949.NOTICE 6 # (the RFC's Copyright Notice section verbatim, then the TLP 5 section 4.c BSD License text for 7 # Code Components). 8 # Line: WF HEX DIAGNOSTIC. WF is the fxamacker/cbor v2.9.0 Wellformed result under tka's decoder 9 # options (om/cbor error code, 0 = accepted), from `oracle judge`. Accepted rows must re-encode to HEX 10 # unchanged (every accepted row is already in CTAP2 canonical form; floats keep their width). 11 0 00 0 12 0 01 1 13 0 0a 10 14 0 17 23 15 0 1818 24 16 0 1819 25 17 0 1864 100 18 0 1903e8 1000 19 0 `1a000f4240` `1000000` 20 0 `1b000000e8d4a51000` `1000000000000` 21 0 `1bffffffffffffffff` `18446744073709551615` 22 6 `c249010000000000000000` `18446744073709551616` 23 0 `3bffffffffffffffff` -`18446744073709551616` 24 6 `c349010000000000000000` -`18446744073709551617` 25 0 20 -1 26 0 29 -10 27 0 3863 -100 28 0 3903e7 -1000 29 0 f90000 0.0 30 0 f98000 -0.0 31 0 f93c00 1.0 32 0 `fb3ff199999999999a` 1.1 33 0 f93e00 1.5 34 0 f97bff 65504.0 35 0 `fa47c35000` 100000.0 36 0 `fa7f7fffff` 3.`4028234663852886e`+38 37 0 `fb7e37e43c8800759c` 1.0e+300 38 0 f90001 5.`960464477539063e`-8 39 0 f90400 0.`00006103515625` 40 0 f9c400 -4.0 41 0 `fbc010666666666666` -4.1 42 0 f97c00 Infinity 43 0 f97e00 NaN 44 0 f9fc00 -Infinity 45 0 `fa7f800000` Infinity 46 0 `fa7fc00000` NaN 47 0 `faff800000` -Infinity 48 0 `fb7ff0000000000000` Infinity 49 0 `fb7ff8000000000000` NaN 50 0 `fbfff0000000000000` -Infinity 51 0 f4 false 52 0 f5 true 53 0 f6 null 54 0 f7 undefined 55 0 f0 simple(16) 56 0 f8ff simple(255) 57 6 `c074323031332d30332d32315432303a30343a30305a` 0("2013-03-21T20:04:00Z") 58 6 `c11a514b67b0` 1(`1363896240`) 59 6 `c1fb41d452d9ec200000` 1(`1363896240`.5) 60 6 `d74401020304` 23(h'`01020304`') 61 6 `d818456449455446` 24(h'`6449455446`') 62 6 `d82076687474703a2f2f7777772e6578616d706c652e636f6d` 32("http://www.example.com") 63 0 40 h'' 64 0 `4401020304` h'`01020304`' 65 0 60 "" 66 0 6161 "a" 67 0 `6449455446` "IETF" 68 0 62225c "\"\\" 69 0 62c3bc "\u00fc" 70 0 `63e6b0b4` "\u6c34" 71 0 `64f0908591` "\ud800\udd51" 72 0 80 [] 73 0 `83010203` [1, 2, 3] 74 0 `8301820203820405` [1, [2, 3], [4, 5]] 75 0 `98190102030405060708090a0b0c0d0e0f101112131415161718181819` [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] 76 0 a0 {} 77 0 `a201020304` {1: 2, 3: 4} 78 0 `a26161016162820203` {"a": 1, "b": [2, 3]} 79 0 `826161a161626163` ["a", {"b": "c"}] 80 0 `a56161614161626142616361436164614461656145` {"a": "A", "b": "B", "c": "C", "d": "D", "e": "E"} 81 4 `5f42010243030405ff` (_ h'0102', h'030405') 82 4 `7f657374726561646d696e67ff` (_ "strea", "ming") 83 4 9fff [_ ] 84 4 `9f018202039f0405ffff` [_ 1, [2, 3], [_ 4, 5]] 85 4 `9f01820203820405ff` [_ 1, [2, 3], [4, 5]] 86 4 `83018202039f0405ff` [1, [2, 3], [_ 4, 5]] 87 4 `83019f0203ff820405` [1, [_ 2, 3], [4, 5]] 88 4 `9f0102030405060708090a0b0c0d0e0f101112131415161718181819ff` [_ 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] 89 4 `bf61610161629f0203ffff` {_ "a": 1, "b": [_ 2, 3]} 90 4 `826161bf61626163ff` ["a", {_ "b": "c"}] 91 4 `bf6346756ef563416d7421ff` {_ "Fun": true, "Amt": -2}