Ada 4.1.1
Fast spec-compliant URL parser
Loading...
Searching...
No Matches
punycode.cpp File Reference
#include "ada/idna/punycode.h"
#include <cstdint>

Go to the source code of this file.

Namespaces

namespace  ada
namespace  ada::idna

Functions

static constexpr int32_t ada::idna::char_to_digit_value (char value)
static constexpr char ada::idna::digit_to_char (int32_t digit)
static constexpr int32_t ada::idna::adapt (int32_t d, int32_t n, bool firsttime)
bool ada::idna::punycode_to_utf32 (std::string_view input, std::u32string &out)
bool ada::idna::verify_punycode (std::string_view input)
bool ada::idna::utf32_to_punycode (std::u32string_view input, std::string &out)