Class NativeInetAddress

java.lang.Object
io.netty.channel.unix.NativeInetAddress

public final class NativeInetAddress extends Object
Internal usage only!
  • Field Details

    • IPV4_MAPPED_IPV6_PREFIX

      private static final byte[] IPV4_MAPPED_IPV6_PREFIX
    • address

      final byte[] address
    • scopeId

      final int scopeId
  • Constructor Details

    • NativeInetAddress

      public NativeInetAddress(byte[] address, int scopeId)
    • NativeInetAddress

      public NativeInetAddress(byte[] address)
  • Method Details

    • newInstance

      public static NativeInetAddress newInstance(InetAddress addr)
    • address

      public byte[] address()
    • scopeId

      public int scopeId()
    • ipv4MappedIpv6Address

      public static byte[] ipv4MappedIpv6Address(byte[] ipv4)
    • copyIpv4MappedIpv6Address

      public static void copyIpv4MappedIpv6Address(byte[] ipv4, byte[] ipv6)
    • address

      public static InetSocketAddress address(byte[] addr, int offset, int len)
    • decodeInt

      static int decodeInt(byte[] addr, int index)