Skip to main content

validate_structure

Function validate_structure 

Source
pub fn validate_structure(
    store: &[u64],
    expected_slices: usize,
) -> Result<(), String>
Expand description

Validates the internal structure of indexed-encoded data.

Checks that offsets are well-formed, in bounds, and that the slice count matches expected_slices. This is a building block for validate; prefer calling validate directly unless you need structural checks alone.