Skip to main content

head_chunk_based_compress

Function head_chunk_based_compress 

Source
pub fn head_chunk_based_compress(
    data: &[u8],
    flags: u16,
    version: u32,
    meter: &Arc<Meter>,
) -> Result<PackedBlocks, SaveError>
Expand description

HEAD 417d595’s chunk_based_compress: the bytes already written, with padding, determine whether the next block is stored. From format 9 each compressed-packer block has an offset and trailing 16-byte alignment.