8#ifndef ADA_SERIALIZERS_H
9#define ADA_SERIALIZERS_H
33 const std::array<uint16_t, 8>& address,
size_t& compress,
34 size_t& compress_length)
noexcept;
43std::string
ipv6(
const std::array<uint16_t, 8>& address)
noexcept;
52std::string
ipv4(uint64_t address)
noexcept;
Cross-platform compiler macros and common definitions.
IP address serialization functions.
std::string ipv6(const std::array< uint16_t, 8 > &address) noexcept
void find_longest_sequence_of_ipv6_pieces(const std::array< uint16_t, 8 > &address, size_t &compress, size_t &compress_length) noexcept
std::string ipv4(uint64_t address) noexcept