Skip to main content

decode_layered

Function decode_layered 

Source
pub fn decode_layered(
    params: &DecodeParams,
    erased_chunks: &BTreeSet<usize>,
    chunks: &mut Vec<Vec<u8>>,
    sub_chunk_size: usize,
) -> Result<(), ClayError>
Expand description

Main layered decoding algorithm

Processes layers in order of increasing intersection score, applying PRT/PFT transforms and RS decoding as needed.