Open rvagg opened 1 year ago
Link to file as you would view it on GitHub: https://github.com/multiformats/multicodec/blob/rvagg/json/table.json
Another alternative is to nest the 3 code values into a nested object: "code": { "hex": "0x78", "int": 120, "varint": "0x78" }
. Any nested object doesn't get the padding treatment.
Either layout is fine, I'd KISS and just have non-nested values. This also makes it easier if you e.g. write your own tooling and you want to convert it quickly to CSV.
Closes: #305
Draft for now, just putting it up for initial feedback.
[
and]
lines."description"
column is optional and is dropped where blank"intcode"
and"varint"
(hex bytes) fields"ref"
column with only the CID ones filled in so far .. I don't think left-padding this column is going to be ideal since"description"
can get quite large. An option here is to add a compound object to combine"description"
and"ref"
and only left-pad the top-level items,"status": "permanent", "notes": { "description": "CIDv1", "ref": [ "https://github.com/multiformats/cid" ] },
What I think should be done to make this complete:
intcode
orvarint
entries