src/core/net/dns_types.hpp
/**
     * This method sets the type of the message.
     *
     * @param[in]  aType The type of the message.
     *
     */
This method sets the type of the message.
@param[in]  aType The type of the message.
This method sets the type of the message . @param [ in ] aType The type of the message .
void SetType(Type aType)
    {
        mFlags[0] &= ~kQrFlagMask;
        mFlags[0] |= static_cast<uint8_t>(aType) << kQrFlagOffset;
    }
void SetType ( Type aType ) { mFlags [ 0 ] &= ~ kQrFlagMask ; mFlags [ 0 ] |= static_cast < uint8_t > ( aType ) << kQrFlagOffset ; }
This method sets the type of the message.
This method sets the type of the message .