java.lang.Object
org.pcap4j.packet.IllegalRadiotapData
- All Implemented Interfaces:
Serializable,RadiotapPacket.RadiotapData
- Since:
- pcap4j 1.6.5
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final byte[]private static final long -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateIllegalRadiotapData(byte[] rawData, int offset, int length) private -
Method Summary
Modifier and TypeMethodDescriptionbooleanbyte[]inthashCode()intlength()static IllegalRadiotapDatanewInstance(byte[] rawData, int offset, int length) A static factory method.toString()
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
rawData
private final byte[] rawData
-
-
Constructor Details
-
IllegalRadiotapData
private IllegalRadiotapData(byte[] rawData, int offset, int length) -
IllegalRadiotapData
-
-
Method Details
-
newInstance
A static factory method. This method validates the arguments byByteArrays.validateBounds(byte[], int, int), which may throw exceptions undocumented here.- Parameters:
rawData- rawDataoffset- offsetlength- length- Returns:
- a new UnknownRadiotapDataField object.
-
length
public int length()- Specified by:
lengthin interfaceRadiotapPacket.RadiotapData- Returns:
- length
-
getRawData
public byte[] getRawData()- Specified by:
getRawDatain interfaceRadiotapPacket.RadiotapData- Returns:
- raw data
-
getBuilder
- Returns:
- a new Builder object populated with this object's fields.
-
toString
-
toString
- Specified by:
toStringin interfaceRadiotapPacket.RadiotapData- Parameters:
indent- indent- Returns:
- String representation of this object.
-
hashCode
public int hashCode() -
equals
-