Dag-cbor marshal/unmarshal.
We now have CIDs support! You can create links backed by cids,
and marshal them with dag-cbor; and you can unmarshal cbor data
with dag-cbor and expect things with the CID link tag to be parsed
into CIDs and exposed as IPLD Links. Yay!
(Dag-json is lagging. The parse for those links is... more involved.
When supported, it'll similarly have its own unmarshal and marshal
just like the ones this diff introduces for dag-cbor.)
Signed-off-by: Eric Myhre <hash@exultant.us>
Showing
encoding/dagcbor/common.go
0 → 100644
encoding/dagcbor/marshal.go
0 → 100644
Please register or sign in to comment