Skip to main content

extract_tree

Function extract_tree 

Source
pub fn extract_tree(
    bytes: &[u8],
    expected: ContentHash,
) -> Result<Tree, CompactError>
Expand description

Reconstruct one tree and verify its BLAKE3 typed hash.

The whole-frame checksum is verified first. Each tree is rebuilt from its SoA columns until expected matches the reconstructed typed hash.