public final class UnknownIpV6Option extends java.lang.Object implements IpV6ExtOptionsPacket.IpV6Option
| Modifier and Type | Class and Description |
|---|---|
static class |
UnknownIpV6Option.Builder |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
UnknownIpV6Option.Builder |
getBuilder() |
byte[] |
getData() |
byte |
getDataLen() |
int |
getDataLenAsInt() |
byte[] |
getRawData() |
IpV6OptionType |
getType() |
int |
hashCode() |
int |
length() |
static UnknownIpV6Option |
newInstance(byte[] rawData,
int offset,
int length)
A static factory method.
|
java.lang.String |
toString() |
public static UnknownIpV6Option newInstance(byte[] rawData, int offset, int length) throws IllegalRawDataException
ByteArrays.validateBounds(byte[], int, int),
which may throw exceptions undocumented here.rawData - rawDataoffset - offsetlength - lengthIllegalRawDataException - if parsing the raw data fails.public IpV6OptionType getType()
getType in interface IpV6ExtOptionsPacket.IpV6Optionpublic byte getDataLen()
public int getDataLenAsInt()
public byte[] getData()
public byte[] getRawData()
getRawData in interface IpV6ExtOptionsPacket.IpV6Optionpublic int length()
length in interface IpV6ExtOptionsPacket.IpV6Optionpublic UnknownIpV6Option.Builder getBuilder()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2011 - 2018 Pcap4J.org. All rights reserved.