@property
def codec(self) -> Multicodec:
    '\n            Codec that the multihash digest refers to.\n\n            Example usage:\n\n            >>> s = "zb2rhe5P4gXftAwvA4eXQ5HJwsER2owDyS9sKaQRRVQPn93bA"\n            >>> cid = CID.decode(s)\n            >>> cid.codec\n            Multicodec(name=\'raw\', tag=\'ipld\', code=\'0x55\',\n                       status=\'permanent\', description=\'raw binary\')\n\n        '
    return self._codec
Codec that the multihash digest refers to.

Example usage:

>>> s = "zb2rhe5P4gXftAwvA4eXQ5HJwsER2owDyS9sKaQRRVQPn93bA"
>>> cid = CID.decode(s)
>>> cid.codec
Multicodec(name='raw', tag='ipld', code='0x55',
           status='permanent', description='raw binary')
@property
def codec(self) -> Multicodec:
    '\n            Codec that the multihash digest refers to.\n\n            Example usage:\n\n            >>> s = "zb2rhe5P4gXftAwvA4eXQ5HJwsER2owDyS9sKaQRRVQPn93bA"\n            >>> cid = CID.decode(s)\n            >>> cid.codec\n            Multicodec(name=\'raw\', tag=\'ipld\', code=\'0x55\',\n                       status=\'permanent\', description=\'raw binary\')\n\n        '
    return self._codec