question: convert a 4-character string to a 32-bit type . concode_field_sep ByteOrder CHUNK_ORDER concode_elem_sep int CHUNK_FAIL concode_field_sep void connected concode_elem_sep Chunk handleChunk concode_elem_sep ByteBuffer wrapChunk concode_elem_sep void disconnected concode_elem_sep void putString concode_elem_sep String name concode_elem_sep String getString concode_elem_sep Chunk createFailChunk
target: int function ( String arg0 ) { if ( arg0 . length ( ) != 4 ) { throw new IllegalArgumentException ( "srini_string" + arg0 ) ; } int loc0 = 0 ; for ( int loc1 = 0 ; loc1 < 4 ; ++ loc1 ) { loc0 = ( ( loc0 << 8 ) | ( arg0 . charAt ( loc1 ) & 0xff ) ) ; } return loc0 ; }