#include <userver/utils/ip.hpp>
Base class for IPv4/IPv6 addresses.
Public Types | |
| using | BytesType = std::array<unsigned char, N> | 
Public Member Functions | |
| AddressBase (const BytesType &address) | |
| const BytesType & | GetBytes () const noexcept | 
| Get the address in bytes, in network byte order.   | |
Static Public Attributes | |
| static constexpr std::size_t | AddressSize = N | 
      
  | 
  inlinenoexcept | 
      
  | 
  inlineexplicit | 
      
  | 
  inlinenoexcept | 
      
  | 
  friend | 
      
  | 
  friend | 
      
  | 
  staticconstexpr |