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

Explain ai= short notation #33

Merged
merged 1 commit into from
May 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion draft-ietf-cbor-edn-literals.md
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,10 @@ Encoding Indicator:
Encoding Indicator.

Description:
: a brief description
: a brief description.
This description may employ an abbreviation of the form `ai=`nn,
where nn is the numeric value of the field _additional information_, the
low-order 5 bits of the initial byte (see {{Section 3 of RFC8949@-cbor}}).

Change Controller:
: (see {{Section 2.3 of RFC8126@-ianacons}})
Expand Down Expand Up @@ -804,6 +807,11 @@ The following additional items should help in the interpretation:
5.13.4 of {{Cplusplus}}; floating-suffix/floating-point-suffix from
the latter two is not used here).
* `spec` stands for an encoding indicator.

(In the following, an abbreviation of the form `ai=`nn gives nn as
the numeric value of the field _additional information_, the low-order 5
bits of the initial byte: see {{Section 3 of RFC8949@-cbor}}.)

As per {{Section 8.1 of RFC8949@-cbor}}:

* an underscore `_` on its own stands
Expand Down
Loading