uri::encode_data_string 方法

藉由將 RFC 3986 未保留字元以外的所有字元都轉換成其十六進位表示,將字串編碼。

_ASYNCRTIMP static utility::string_t __cdecl encode_data_string(
   const utility::string_t &utf8data
);

參數

  • utf8data
    UTF-8 字串資料。

傳回值

編碼的字串。

需求

**標頭:**base_uri.h

**命名空間:**web::http

請參閱

參考

uri 類別