31 uint8_t octet3)
noexcept;
47 std::vector<uint8_t> &vector,
55 const std::vector<uint8_t> &vector,
66 (address1.Octets[0] == address2.Octets[0]) &&
67 (address1.Octets[1] == address2.Octets[1]) &&
68 (address1.Octets[2] == address2.Octets[2]) &&
69 (address1.Octets[3] == address2.Octets[3]);
80 bool _result = !(address1 == address2);
bool operator!=(Ipv4Address address1, Ipv4Address address2)
Ipv4Address inequality operator override.
Definition: ipv4_address.h:78
IPv4 address wrapper helper.
Definition: ipv4_address.h:16
static Ipv4Address Extract(const std::vector< uint8_t > &vector, std::size_t &offset)
Extract an IPv4 address from a byte vector.
Definition: ipv4_address.cpp:59
std::string ToString() const
Convert the IP address to string.
Definition: ipv4_address.cpp:38
std::array< uint8_t, 4 > Octets
IPv4 address octets.
Definition: ipv4_address.h:18
static void Inject(std::vector< uint8_t > &vector, Ipv4Address ipAddress)
Inject an IP address into a byte vector.
Definition: ipv4_address.cpp:49