Scoop API

scoop:scoop.platform:0.1.0

IpAddress

class IpAddress

source · line 26
public
public class IpAddress private constructor(internal val native: NativeSocketAddress) : Equals<
    IpAddress
>, Hash, ToString

An immutable numeric IP address with family and optional IPv6 scope identifier. Parsing does not perform DNS resolution.

function toString

source · line 97
public
public override fun toString(): String

Returns numeric address notation without performing name resolution.

function hash

source · line 84
public
public override fun hash(): Long

Hashes the same address identity used by equality.

function toByteArray

source · line 45
public
public fun toByteArray(): Array<Byte>

Copies the four or sixteen address bytes in network order.