multiformats/cid/v1
Types
pub type Cid {
Cid(content_type: Int, content: hashes.Multihash)
}
Constructors
-
Cid(content_type: Int, content: hashes.Multihash)
Values
pub fn from_bytes(
cid: BitArray,
) -> Result(#(Cid, BitArray), String)
pub fn from_string(
cid: String,
) -> Result(#(Cid, BitArray), String)