Ada 2.9.2
Fast spec-compliant URL parser
|
Includes the definitions for URL serializers. More...
Functions | |
void | find_longest_sequence_of_ipv6_pieces (const std::array< uint16_t, 8 > &address, size_t &compress, size_t &compress_length) noexcept |
std::string | ipv6 (const std::array< uint16_t, 8 > &address) noexcept |
std::string | ipv4 (uint64_t address) noexcept |
Includes the definitions for URL serializers.
|
noexcept |
Finds and returns the longest sequence of 0 values in a ipv6 input.
Definition at line 8 of file serializers.cpp.
Referenced by ipv6().
|
noexcept |
Serializes an ipv4 address.
An IPv4 address is a 32-bit unsigned integer that identifies a network address.
Definition at line 67 of file serializers.cpp.
|
noexcept |
Serializes an ipv6 address.
An IPv6 address is a 128-bit unsigned integer that identifies a network address.
Definition at line 26 of file serializers.cpp.
References find_longest_sequence_of_ipv6_pieces().