atproto_core.cid.cid

class atproto_core.cid.cid.CID(version: int, codec: int, hash: atproto_core.cid.cid.Multihash, _stringified_form: str | NoneType = None, _raw_byte_form: str | NoneType = None)

Bases: object

codec: int
classmethod decode(value: str | bytes) CID
encode() str
hash: Multihash
version: int
class atproto_core.cid.cid.Multihash(code: int, size: int, digest: bytes)

Bases: object

code: int
digest: bytes
size: int