MCPcopy Create free account
hub / github.com/ada-url/ada / convert_hex_to_binary

Function convert_hex_to_binary

src/unicode.cpp:448–450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

446 12, 13, 14, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
447 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 11, 12, 13, 14, 15};
448unsigned constexpr convert_hex_to_binary(const char c) noexcept {
449 return hex_to_binary_table[c - '0'];
450}
451
452std::string percent_decode(const std::string_view input, size_t first_percent) {
453 // next line is for safety only, we expect users to avoid calling

Callers 3

parse_ipv6Method · 0.85
parse_ipv6Method · 0.85
percent_decodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected