Companion

object Companion

Functions

Link copied to clipboard

Converts network ordered bytes to an IPv4 or IPv6 address.

Parses a String for its IPv4 or IPv6 address.

Link copied to clipboard

Converts network ordered bytes to an IPv4 or IPv6 address.

@JvmName(name = "getOrNull")
fun String.toIPAddressOrNull(): IPAddress?

Parses a String for its IPv4 or IPv6 address.