VIPA 0.1.0
Header-only C++23 SIMD-assisted IPv4/IPv6 text parser.
Loading...
Searching...
No Matches
llmx::vipa::IPv4Address Struct Reference

Parsed IPv4 address in network byte order. More...

#include <address.hxx>

Public Member Functions

constexpr auto octets () const noexcept -> std::span< const uint8_t, 4 >
 View the address as four read-only octets.

Public Attributes

std::array< uint8_t, 4 > bytes {}

Detailed Description

Parsed IPv4 address in network byte order.

Member Function Documentation

◆ octets()

auto llmx::vipa::IPv4Address::octets ( ) const -> std::span< const uint8_t, 4 >
inlineconstexprnoexcept

View the address as four read-only octets.

Member Data Documentation

◆ bytes

std::array<uint8_t, 4> llmx::vipa::IPv4Address::bytes {}

Raw IPv4 octets, from most-significant to least-significant address byte.


The documentation for this struct was generated from the following file: