22 const size_t length = url.length ();
24 for (
auto it = url.begin (),
end = url.end (); it !=
end; ++it)
34 if (++it == url.end ())
39 if (++it == url.end ())
Define helper functions for hex-to-num conversion.
Declare a function to decode an URL encode string.
auto end(const Ptr< Type, BaseDeleter > &p)
Enables range-for.
uint8_t HexCharToNum(char c) noexcept
std::string UrlDecode(const std::string &url)