pub fn encode_sequences(
sequences: &[Sequence],
output: &mut Vec<u8>,
) -> Result<()>Expand description
Encode the sequences section.
Uses RLE mode when all sequences have the same codes (uniform), otherwise falls back to FSE encoding with predefined tables.
ยงPerformance
Sequences are encoded once during RLE analysis and reused for FSE encoding if needed, avoiding redundant encoding work.