• Eric Myhre's avatar
    Dag-cbor marshal/unmarshal. · a274b2db
    Eric Myhre authored
    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: default avatarEric Myhre <hash@exultant.us>
    a274b2db
marshal.go 2.92 KB