question: encode this permutation as byte array . concode_field_sep int[] perm concode_field_sep boolean isPermutation concode_elem_sep Permutation computeInverse concode_elem_sep Permutation rightMultiply concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep int[] getVector concode_elem_sep String toString
target: byte [ ] function ( ) { int loc0 = perm . length ; int loc1 = IntegerFunctions . ceilLog256 ( loc0 - 1 ) ; byte [ ] loc2 = new byte [ 4 + loc0 * loc1 ] ; LittleEndianConversions . I2OSP ( loc0 , loc2 , 0 ) ; for ( int loc3 = 0 ; loc3 < loc0 ; loc3 ++ ) { LittleEndianConversions . I2OSP ( perm [ loc3 ] , loc2 , 4 + loc3 * loc1 , loc1 ) ; } return loc2 ; }