Skip to main content

bch_correct_long

Function bch_correct_long 

Source
pub fn bch_correct_long(
    hrp: &str,
    data_with_checksum: &[u8],
) -> Result<CorrectionResult, Error>
Expand description

Long-code analog of bch_correct_regular.

Implements the same BM/Chien/Forney pipeline against the long-code generator polynomial, reaching the full t = 4 capacity of BCH(108, 93, 8).