read_sampled_state

Function read_sampled_state 

Source
fn read_sampled_state(
    bytes: &[u8],
    coefficients: bool,
) -> Result<(WaveSet, Vec<[f64; 3]>, Reader<'_>)>
Expand description

Check the complete byte size from the allocation-free header before decoding any arrays. Both residual layouts share the same sampled-wave prefix.