public abstract class Dot11InformationElement extends Object implements Serializable
1 1 variable +----------+----------+------------- |Element ID| Length | information +----------+----------+-------------
Modifier and Type | Class and Description |
---|---|
static class |
Dot11InformationElement.Builder |
Modifier | Constructor and Description |
---|---|
protected |
Dot11InformationElement(byte[] rawData,
int offset,
int length,
Dot11InformationElementId id) |
protected |
Dot11InformationElement(Dot11InformationElement.Builder builder) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Dot11InformationElementId |
getElementId() |
byte |
getLength() |
int |
getLengthAsInt() |
abstract byte[] |
getRawData() |
int |
hashCode() |
abstract int |
length() |
protected Dot11InformationElement(byte[] rawData, int offset, int length, Dot11InformationElementId id) throws IllegalRawDataException
rawData
- rawDataoffset
- offsetlength
- lengthid
- element IDIllegalRawDataException
- if parsing the raw data fails.protected Dot11InformationElement(Dot11InformationElement.Builder builder)
builder
- builderpublic Dot11InformationElementId getElementId()
public byte getLength()
public int getLengthAsInt()
public abstract int length()
public abstract byte[] getRawData()
Copyright © 2011–2019 Pcap4J.org. All rights reserved.