std.conv.hex_ipv4

std.conv

hex_ipv4(hex_ip_str) -> ip, port

Convert a hex-encoded IPv4 address from /proc/net/route format

Parses a hex-encoded IPv4 address (e.g., from /proc/net/route) and returns the dotted-decimal IP address and port number as strings.