Open dkg opened 1 year ago
I'll change "simple string" to be hyphenated and provide ascii art for the example.
The ascii art example just lead to more questions. I've added a reference and a bit of text o help explain this.
A string might be represented as a sort of special kind of list of two element where the first is nil or a pointer to the display-hint.
In the in-memory representations section, the List-structure memory representation says:
While it might be conventional, it's not a convention i'm aware of, and i don't understand it. is "simple-string" different from "simple string" ? how does either one of those differ from "string"?
The ABNF appears to suggest that a
simple-string
is astring
without the optional square-bracket-encloseddisplay-hint
. but then asimple-string
is in fact astring
anyway.The "array-layout" memory representation section distinguishes between "octet-string" and "octet-string with display-hint" -- are those analogous to "simple-string" and "string", respectively?
What would the six records be in the example given?