pub fn decode_tree_with_key(
data: &[u8],
expected: ContentHash,
anchor: Option<&Tree>,
) -> Result<Tree>Expand description
Decode any production tree body and validate it against the external key.
HDC1 callers must supply its materialized anchor; canonical and HLR1 bodies
ignore anchor.