Skip to main content

registered_chunks

Function registered_chunks 

Source
pub fn registered_chunks(
    data: &[u8],
    flags: u16,
    codecs: &Codecs,
    head: Option<u32>,
    meter: &Arc<Meter>,
) -> Result<PackedBlocks, SaveError>
Expand description

Compress through the context’s registered block codecs and chunk policy. head selects the later bundle layout when explicitly requested.