Class RawAddress

java.lang.Object
pcap.common.net.RawAddress
All Implemented Interfaces:
Address

@Inclubating
public class RawAddress
extends Object
implements Address
Default implementation of raw byte array address.
Since:
1.0.0
Author:
Ardika Rommy Sanjaya
  • Method Details

    • valueOf

      public static RawAddress valueOf​(byte[] bytes)
      Create instance of RawAddress.
      Parameters:
      bytes - byte array.
      Returns:
      returns RawAddress/
    • address

      public byte[] address()
      Description copied from interface: Address
      Get raw byte array address.
      Specified by:
      address in interface Address
      Returns:
      returns byte array.