Skip to main content

decode

Function decode 

Source
pub fn decode(codeword: &mut [u8; 255]) -> Result<usize, RsError>
Expand description

Decodes and corrects a 255-byte RS codeword in-place.

Returns the number of corrected symbol errors, or an error if there are too many to correct (>16).