public final class NativeInetAddress
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) byte[] |
address |
private static byte[] |
IPV4_MAPPED_IPV6_PREFIX |
(package private) int |
scopeId |
Constructor and Description |
---|
NativeInetAddress(byte[] address) |
NativeInetAddress(byte[] address,
int scopeId) |
Modifier and Type | Method and Description |
---|---|
byte[] |
address() |
static java.net.InetSocketAddress |
address(byte[] addr,
int offset,
int len) |
(package private) static int |
decodeInt(byte[] addr,
int index) |
static byte[] |
ipv4MappedIpv6Address(byte[] ipv4) |
static NativeInetAddress |
newInstance(java.net.InetAddress addr) |
int |
scopeId() |
private static final byte[] IPV4_MAPPED_IPV6_PREFIX
final byte[] address
final 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)
static int decodeInt(byte[] addr, int index)