pub fn decode_cid(s: &str) -> Result<Cid>Expand description
Decode a canonical CIDv1 base32 string produced by encode_cid.
Both the base32 multibase prefix (b) and the CIDv1 version byte (0x01)
are validated. CIDv0 (implicit sha1+base58btc, no version byte) is rejected
— this module only emits CIDv1.