1.0.0Type: Object
The CID as a Uint8Array
Uint8Array:
Get the prefix of the CID.
Uint8Array:
Convert to a CID of version 0.
CID:
Convert to a CID of version 1.
CID:
Encode the CID into a string.
(string
= this.multibaseName)
Base encoding to use.
string:
CID(QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n)
String:
Serialize to a plain object.
SerializedCID:
Compare equality with another CID.
(CID)
bool:
Test if the given input is a valid CID object. Throws if it is not.
(any)
void:
Class representing a CID <mbase><version><mcodec><mhash>
, as defined in ipld/cid.
Test if the given input is a CID.
(any)
bool:
Test if the given input is a valid CID object. Returns an error message if it is not. Returns undefined if it is a valid CID.
(any)
string: