int t = ( buffer[ResUcdQueryField.T.getByteIndex()] << 24 ) |
( buffer[ResUcdQueryField.T.getByteIndex() + 1] << 16 ) |
( buffer[ResUcdQueryField.T.getByteIndex() + 2] << 8 ) |
( buffer[ResUcdQueryField.T.getByteIndex() + 3] );
QueryMode mode = QueryMode.valueOf( (short) ( ( buffer[ResUcdQueryField.QUERY_MODE.getByteIndex()] << 8 ) |
( buffer[ResUcdQueryField.QUERY_MODE.getByteIndex() + 1] ) ) );
QueryAttribute attribute = QueryAttribute.valueOf( (short) ( ( buffer[ResUcdQueryField.QUERY_ATTRIBUTE.getByteIndex()] << 8 ) |
( buffer[ResUcdQueryField.QUERY_ATTRIBUTE.getByteIndex() + 1] ) ) );