question: convenience method that can decode a pdf417 code represented as a 2d array of booleans . `` true '' is taken to mean a black module . concode_field_sep int MAX_EC_CODEWORDS concode_elem_sep ErrorCorrection errorCorrection concode_elem_sep int MAX_ERRORS concode_field_sep void correctErrors concode_elem_sep void verifyCodewordCount
target: DecoderResult function ( boolean [ ] [ ] arg0 ) { int loc0 = arg0 . length ; BitMatrix loc1 = new BitMatrix ( loc0 ) ; for ( int loc2 = 0 ; loc2 < loc0 ; loc2 ++ ) { for ( int loc3 = 0 ; loc3 < loc0 ; loc3 ++ ) { if ( arg0 [ loc3 ] [ loc2 ] ) { loc1 . set ( loc3 , loc2 ) ; } } } return decode ( loc1 ) ; }