pub fn encode_state_frame(states: &[State]) -> Result<Vec<u8>, CompactError>
Encode states as lossless columns, omitting only the derivable state id.