Skip to main content

decode_zstd_dict_payload

Function decode_zstd_dict_payload 

Source
pub fn decode_zstd_dict_payload(bytes: &[u8], dict: &[u8]) -> Result<Vec<u8>>
Expand description

reconstruct the canonical chunks_canonical payload from a dict-framed txt_streams V2 payload using the shared dict. byte-identical to sections::encode_chunks_canonical, so content_hash is preserved.