Ada 4.1.1
Fast spec-compliant URL parser
Loading...
Searching...
No Matches
ada::detail Namespace Reference

Functions

constexpr std::array< uint8_t, 256 > make_hex_nibble_table () noexcept
bool parse_ipv4_number (const char *&p, const char *end, uint64_t &value, bool &is_pure_decimal) noexcept
int parse_hex_piece (const char *&pointer, const char *end, uint16_t &value) noexcept

Variables

constexpr auto hex_nibble = make_hex_nibble_table()

Function Documentation

◆ make_hex_nibble_table()

std::array< uint8_t, 256 > ada::detail::make_hex_nibble_table ( )
inlineconstexprnoexcept

Definition at line 30 of file url_ip-inl.h.

◆ parse_hex_piece()

int ada::detail::parse_hex_piece ( const char *& pointer,
const char * end,
uint16_t & value )
inlinenoexcept

Definition at line 121 of file url_ip-inl.h.

References hex_nibble.

◆ parse_ipv4_number()

bool ada::detail::parse_ipv4_number ( const char *& p,
const char * end,
uint64_t & value,
bool & is_pure_decimal )
inlinenoexcept

Definition at line 47 of file url_ip-inl.h.

References hex_nibble.

Variable Documentation

◆ hex_nibble

auto ada::detail::hex_nibble = make_hex_nibble_table()
inlineconstexpr

Definition at line 45 of file url_ip-inl.h.

Referenced by parse_hex_piece(), and parse_ipv4_number().