[−][src]Function tiny_multihash::read_digest
pub fn read_digest<R, S, D>(r: R) -> Result<D, Error> where
R: Read,
S: Size,
D: Digest<S>,
Reads a multihash from a byte stream that contains the digest prefixed with the size.
The byte stream must not contain the code as prefix.