public final class NativeInetAddress extends Object
Constructor and Description |
---|
NativeInetAddress(byte[] address) |
NativeInetAddress(byte[] address,
int scopeId) |
Modifier and Type | Method and Description |
---|---|
byte[] |
address() |
static InetSocketAddress |
address(byte[] addr,
int offset,
int len) |
static void |
copyIpv4MappedIpv6Address(byte[] ipv4,
byte[] ipv6) |
static byte[] |
ipv4MappedIpv6Address(byte[] ipv4) |
static NativeInetAddress |
newInstance(InetAddress addr) |
int |
scopeId() |
public NativeInetAddress(byte[] address, int scopeId)
public NativeInetAddress(byte[] address)
public static NativeInetAddress newInstance(InetAddress addr)
public byte[] address()
public int scopeId()
public static byte[] ipv4MappedIpv6Address(byte[] ipv4)
public static void copyIpv4MappedIpv6Address(byte[] ipv4, byte[] ipv6)
public static InetSocketAddress address(byte[] addr, int offset, int len)
Copyright © 2008–2024 The Netty Project. All rights reserved.