Function trie_db::node::decode_hash [−][src]
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.
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.