given data and error-correction codewords received , possibly corrupted by errors , attempts to correct the errors in-place . concode_field_sep int MAX_EC_CODEWORDS concode_elem_sep ErrorCorrection errorCorrection concode_elem_sep int MAX_ERRORS concode_field_sep DecoderResult decode concode_elem_sep DecoderResult decode concode_elem_sep void verifyCodewordCount
void function ( int [ ] arg0 , int [ ] arg1 , int arg2 ) { if ( arg1 . length > arg2 / 2 + MAX_ERRORS || arg2 < 0 || arg2 > MAX_EC_CODEWORDS ) { throw ChecksumException . getChecksumInstance ( ) ; } errorCorrection . decode ( arg0 , arg2 , arg1 ) ; }