[][src]Function trie_db::node::decode_hash

pub fn decode_hash<H: Hasher>(data: &[u8]) -> Option<H::Out>

Read a hash from a slice into a Hasher output. Returns None if the slice is the wrong length.