int function ( int arg0 ) { if ( arg0 <= 0 ) { throw new IllegalArgumentException ( "srini_string" ) ; } if ( arg0 <= 40 ) { return 2 ; } if ( arg0 <= 160 ) { return 3 ; } if ( arg0 <= 320 ) { return 4 ; } if ( arg0 <= 863 ) { return 5 ; } throw new WriterException ( "srini_string" ) ; }
returns the recommended minimum error correction level as described in annex e of iso/iec 15438:2001 e . concode_field_sep int[][] EC_COEFFICIENTS concode_field_sep int getErrorCorrectionCodewordCount concode_elem_sep String generateErrorCorrection