encode static method
Encodes raw hash bytes with the named multihash function.
Supported names include sha2-256, sha2-512, blake2b-256, etc.
Implementation
static dm.MultihashInfo encode(String name, Uint8List hash) =>
dm.Multihash.encode(name, hash);