Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternative tags have now been standardised #294

Open
dcoutts opened this issue Jul 21, 2022 · 0 comments
Open

Alternative tags have now been standardised #294

dcoutts opened this issue Jul 21, 2022 · 0 comments
Assignees

Comments

@dcoutts
Copy link
Member

dcoutts commented Jul 21, 2022

We should add support.

https://datatracker.ietf.org/doc/html/draft-bormann-cbor-notable-tags#section-9
https://www.iana.org/assignments/cbor-tags/cbor-tags.xhtml

     +============+=============+===================================+
     |       Tags | Data Item   | Meaning                           |
     +============+=============+===================================+
     |   121..127 | any         | alternatives 0..6, 1+1 encoding   |
     +------------+-------------+-----------------------------------+
     | 1280..1400 | any         | alternatives 7..127, 1+2 encoding |
     +------------+-------------+-----------------------------------+
     |        101 | array       | alternatives as given by the uint |
     |            | [uint, any] | + 128                             |
     +------------+-------------+-----------------------------------+

           Table 13: Tags for Enumerated Alternative Data Items
@dcoutts dcoutts self-assigned this Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant