public final class Dot11VendorSpecificElement extends Dot11InformationElement
1 1 variable variable
+------------+------------+------------+------------------------
| Element ID | Length |Organization|Vendor-specific content
| | |Identifier |
+------------+------------+------------+------------------------
Element ID: 221
The Vendor Specific element is used to carry information not defined in this standard within a
single defined format, so that reserved element IDs are not usurped for nonstandard purposes
and so that interoperability is more easily achieved in the presence of nonstandard information.
The element requires that the first 3 or more octets of the Information field identify the
entity that has defined the content of the particular Vendor Specific element.| Modifier and Type | Class and Description |
|---|---|
static class |
Dot11VendorSpecificElement.Builder |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Dot11VendorSpecificElement.Builder |
getBuilder() |
byte[] |
getInformation() |
byte[] |
getRawData() |
int |
hashCode() |
int |
length() |
static Dot11VendorSpecificElement |
newInstance(byte[] rawData,
int offset,
int length)
A static factory method.
|
java.lang.String |
toString() |
java.lang.String |
toString(java.lang.String indent) |
getElementId, getLength, getLengthAsIntpublic static Dot11VendorSpecificElement 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 byte[] getInformation()
public int length()
length in class Dot11InformationElementpublic byte[] getRawData()
getRawData in class Dot11InformationElementpublic Dot11VendorSpecificElement.Builder getBuilder()
public int hashCode()
hashCode in class Dot11InformationElementpublic boolean equals(java.lang.Object obj)
equals in class Dot11InformationElementpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(java.lang.String indent)
indent - indentCopyright © 2011 - 2018 Pcap4J.org. All rights reserved.