Skip to main content

compress_compact_frame

Function compress_compact_frame 

Source
pub fn compress_compact_frame(data: &[u8]) -> Result<Vec<u8>, HeddleError>
Expand description

Compress one compact metadata frame with the measured lineage-solid policy.

Level 19 plus a 2^27-byte long-distance window matches the #1325 falsifier. Incompressible input remains raw so the pack reader’s size discriminator is unambiguous. Builds without zstd retain the lossless compact encoding but store its frames raw.