pub fn extract_state(
bytes: &[u8],
expected: StateId,
) -> Result<State, CompactError>Expand description
Reconstruct one state and verify its BLAKE3 typed identity.
The whole-frame checksum is verified, every fidelity column is decoded, and
the state’s id is recomputed from the reconstructed fields before it is
compared with expected.