Function ic_types::hash_tree::pruned_from_hex[][src]

pub fn pruned_from_hex<C: AsRef<str>>(
    content: C
) -> Result<HashTree<'static>, FromHexError>
Expand description

Create a pruned tree node, from a hex representation of the data. Useful for testing or hard coded values.