MCPcopy Create free account
hub / github.com/ElementsProject/elements / IPv4ToString

Function IPv4ToString

src/netaddress.cpp:535–538  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

533}
534
535static std::string IPv4ToString(Span<const uint8_t> a)
536{
537 return strprintf("%u.%u.%u.%u", a[0], a[1], a[2], a[3]);
538}
539
540// Return an IPv6 address text representation with zero compression as described in RFC 5952
541// ("A Recommendation for IPv6 Address Text Representation").

Callers 1

ToStringIPMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected