String function ( int arg0 , int arg1 ) { int loc0 = arg0 ; int loc1 = loc0 + arg1 ; while ( loc0 < loc1 && ( buffer [ loc0 ] != 0 ) ) { loc0 ++ ; } return new String ( buffer , arg0 , loc0 - arg0 , Charsets . ISO_8859_1 ) ; }
get a string from the buffer at the offset given . the method reads until it encounters a null value or reaches the maxlength given . concode_field_sep int RETURN_SUCCESS concode_elem_sep int INDEX_PORT concode_elem_sep int INDEX_COMMAND concode_elem_sep int BUFFER_LENGTH concode_elem_sep int COMMAND_CONNECT concode_elem_sep int RETURN_CANNOT_CONNECT_TO_IDENTD concode_elem_sep int REPLY_LENGTH concode_elem_sep int SOCKS_VERSION concode_elem_sep int INDEX_VERSION concode_elem_sep int INDEX_USER_ID concode_elem_sep int INDEX_IP concode_elem_sep byte[] buffer concode_elem_sep int COMMAND_BIND concode_elem_sep int RETURN_FAILURE concode_elem_sep int MAX_USER_ID_LENGTH concode_elem_sep int RETURN_DIFFERENT_USER_IDS concode_field_sep String getErrorString concode_elem_sep int getVersionNumber concode_elem_sep int getIP concode_elem_sep void setPort concode_elem_sep void setIP concode_elem_sep int getCommandOrResult concode_elem_sep byte[] getBytes concode_elem_sep void setString concode_elem_sep int getPort concode_elem_sep void setCommandOrResult concode_elem_sep int getLength concode_elem_sep void setVersionNumber concode_elem_sep String toString concode_elem_sep String getUserId concode_elem_sep void setUserId