Ada 4.1.1
Fast spec-compliant URL parser
Loading...
Searching...
No Matches
mapping.cpp File Reference
#include "ada/idna/mapping.h"
#include <array>
#include <cstring>
#include <cstdint>
#include <string>
#include "table_store.hpp"
#include "mapping_tables.cpp"

Go to the source code of this file.

Namespaces

namespace  ada
namespace  ada::idna

Functions

static uint16_t ada::idna::idna_lookup (uint32_t cp) noexcept
static char32_t ada::idna::utf8_next (const uint8_t *&ptr) noexcept
static size_t ada::idna::utf8_count_codepoints (const uint8_t *ptr) noexcept
void ada::idna::ascii_map (char *input, size_t length)
bool ada::idna::map (std::u32string_view input, std::u32string &out)
std::u32string ada::idna::map (std::u32string_view input)