DAG-CBOR is a codec that implements the IPLD Data Model as a subset of CBOR, plus some additional constraints for hash consistent representations. DAG-CBOR also adds a βlinkβ type using a CBOR tag, to bring it in line with the IPLD Data Model.
More info: https://ipld.io/docs/codecs/known/dag-cbor/
About CBOR: https://en.wikipedia.org/wiki/CBOR
Decode and returns a single data item from the given data, with the DAG-CBOR codec.
data β The stream of bytes or bytes with DAG-CBOR data.
Decoded DAG-CBOR.
dict
Decode and returns many data items from the given data, with the DAG-CBOR codec.
list of dict
list