int function ( byte [ ] arg0 , int arg1 , int arg2 , byte [ ] arg3 ) { int loc0 = arg2 - arg3 . length ; for ( int loc1 = arg1 ; loc1 <= loc0 ; loc1 ++ ) { boolean loc2 = true ; for ( int loc3 = 0 ; loc3 < arg3 . length ; loc3 ++ ) { if ( arg0 [ loc1 + loc3 ] != arg3 [ loc3 ] ) { loc2 = false ; break ; } } if ( loc2 ) { return loc1 ; } } return - 1 ; }
find the first occurrence of the given bytes b in a utf-8 encoded string concode_field_sep PlaceHolder placeHolder concode_field_sep int findNthByte concode_elem_sep int findNthByte concode_elem_sep int findByte