public final class NativeInetAddress
extends java.lang.Object
构造器和说明 |
---|
NativeInetAddress(byte[] address) |
NativeInetAddress(byte[] address,
int scopeId) |
限定符和类型 | 方法和说明 |
---|---|
byte[] |
address() |
static java.net.InetSocketAddress |
address(byte[] addr,
int offset,
int len) |
static byte[] |
ipv4MappedIpv6Address(byte[] ipv4) |
static NativeInetAddress |
newInstance(java.net.InetAddress addr) |
int |
scopeId() |
public NativeInetAddress(byte[] address, int scopeId)
public NativeInetAddress(byte[] address)
public static NativeInetAddress newInstance(java.net.InetAddress addr)
public byte[] address()
public int scopeId()
public static byte[] ipv4MappedIpv6Address(byte[] ipv4)
public static java.net.InetSocketAddress address(byte[] addr, int offset, int len)